11 $schema[
'mailinglist_list'] = array(
12 'description' =>
'Table storing Mailinglist Definitions',
14 'admin_name' => array(
18 'description' =>
'Unique name for mailing list Used to identify it programmatically.',
20 'admin_title' => array(
23 'description' =>
'Human-readable name for this Mailing List.',
25 'object_type' => array(
28 'description' =>
'Class responsible for list',
29 'default' =>
'MailinglistGenericList',
31 'email_from' => array(
34 'description' =>
'Default from address to use to send to list',
40 'description' =>
'Email address to send list email to',
43 'operations' => array(
47 'description' =>
'Enabled operations for mailinglist.',
48 'object default' => array(
51 'parameters' => array(
55 'description' =>
'Stored parameters for mailinglist.',
56 'object default' => array(
63 'description' =>
'Configuration of mailinglist',
64 'object default' => array(
68 'primary key' => array(
'admin_name'),
70 'key' =>
'admin_name',
71 'key name' =>
'List Name',
72 'primary key' =>
'admin_name',
73 'identifier' =>
'lists',
74 'object' =>
'MailinglistGenericList',
75 'object factory' =>
'_mailinglist_object_factory',
77 'owner' =>
'mailinglist',
79 'minimum_version' => 1,
80 'current_version' => 1,
85 $schema[
'mailinglist_retrieve'] = array(
86 'description' =>
'Table storing mailbox definitions',
88 'admin_name' => array(
92 'description' =>
'Unique email address of this mailbox. Used to identify it programmatically.',
94 'admin_title' => array(
97 'description' =>
'Human-readable name (email address) of this mailbox.',
99 'object_type' => array(
102 'description' =>
'Class responsible for mailbox retrieval',
103 'default' =>
'MailinglistPhpImapRetrieve',
109 'description' =>
'Configuration settingss of mailinglist.',
110 'object default' => array(
114 'primary key' => array(
'admin_name'),
116 'key' =>
'admin_name',
117 'key name' =>
'Email address',
118 'primary key' =>
'admin_name',
119 'identifier' =>
'mailbox',
120 'object' =>
'MailinglistPhpImapRetrieve',
121 'object factory' =>
'_mailinglist_object_factory',
123 'owner' =>
'mailinglist',
125 'minimum_version' => 1,
126 'current_version' => 1,
131 $schema[
'mailinglist_names']= array(
132 'description' =>
'Table for tracking email address <-> Real name mappings',
138 'description' =>
'Primary ID field for the table. Not used for anything except internal lookups.',
143 'description' =>
'E-Mail Address',
148 'description' =>
'Name used',
151 'description' =>
'Number of messages using this combination',
157 'primary key' => array(
'name_key'),
mailinglist_modules_enabled($modules)
Implements hook_modules_enabled().
mailinglist_schema()
Implements hook_schema().
mailinglist_enable()
function mailinglist_update_7000() { }