Mailinglist
 All Data Structures Files Functions Variables Pages
Functions
mailman21.install File Reference

Mailmans install file. More...

Go to the source code of this file.

Functions

 mailman21_schema ()
 Mailman21 database schema. More...
 
 mailman21_update_last_removed ()
 Return the ID number of the highest mainmn_suite_update_N that has been removed. More...
 

Detailed Description

Mailmans install file.

Definition in file mailman21.install.

Function Documentation

mailman21_schema ( )

Mailman21 database schema.

Implements hook_schema().

Definition at line 11 of file mailman21.install.

11  {
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 }
mailman21_update_last_removed ( )

Return the ID number of the highest mainmn_suite_update_N that has been removed.

Definition at line 74 of file mailman21.install.

74  {
75  return 0;
76 }