Mailinglist
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
mailinglist
modules
mailman21
mailman21.install
Go to the documentation of this file.
1
<?php
11
function
mailman21_schema
() {
12
$schema = array();
13
/*
14
$schema['mailman21_list'] = array(
15
'description' => 'List of mailman lists to interface with',
16
'fields' => array(
17
'lid' => array(
18
'description' => 'List ID key',
19
'type' => 'serial',
20
'unsigned' => TRUE,
21
'not null' => TRUE,
22
),
23
'listname' => array(
24
'description' => 'Display name of list',
25
'type' => 'varchar',
26
'length' => 255,
27
'not null' => TRUE,
28
),
29
'listmname' => array(
30
'description' => 'Machine name for list',
31
'type' => 'varchar',
32
'length' => 255,
33
'not null' => TRUE,
34
),
35
'adminurl' => array(
36
'description' => 'URL of the admin interface`',
37
'type' => 'varchar',
38
'length' => 255,
39
),
40
'userurl' => array(
41
'description' => 'URL of the user interface',
42
'type' => 'varchar',
43
'length' => 255,
44
),
45
'toaddress' => array(
46
'description' => 'Email address to submit email to the list',
47
'type' => 'varchar',
48
'length' => 255,
49
),
50
'fromaddress' => array(
51
'description' => 'EMail address to send from for the list',
52
'type' => 'varchar',
53
'length' => 255,
54
),
55
'adminpass' => array(
56
'description' => 'administrator password for the list (weak encription)',
57
'type' => 'varchar',
58
'length' => 255,
59
),
60
),
61
'primary key' => array('lid'),
62
'unique keys' => array(
63
'listmname' => array('listmname'),
64
),
65
);
66
*/
67
return
$schema;
68
}
69
74
function
mailman21_update_last_removed
() {
75
return
0;
76
}
77
mailman21_update_last_removed
mailman21_update_last_removed()
Return the ID number of the highest mainmn_suite_update_N that has been removed.
Definition:
mailman21.install:74
mailman21_schema
mailman21_schema()
Mailman21 database schema.
Definition:
mailman21.install:11
Generated on Thu Dec 11 2014 08:11:02 for Mailinglist by
1.8.8