Mailman 2.1.x List Personality Plugin. More...
Public Member Functions | |
ctools_export_ui | |
edit_form (&$form, &$form_state) | |
Implements ctools_export_ui::edit_form(). More... | |
edit_form_submit (&$form, &$form_state) | |
MailinglistListInterface | |
checkMessage (MailinglistMessageInterface $msg) | |
checkMessage() More... | |
processMessage (MailinglistMessageInterface $msg) | |
processMessage() More... | |
getMemberInfo ($email) | |
getMemberInfo() More... | |
SubscribeForm (&$form, &$form_state) | |
Operation Forms. More... | |
UnsubscribeForm (&$form, &$form_state) | |
OptionsForm ($form, $form_state) | |
getMemberPage ($page) | |
getMemberPage More... | |
getWebPage ($url, $post="") | |
getWebPage More... | |
Public Member Functions inherited from MailinglistList | |
getWebPage ($url, $post="") | |
getWebPage More... | |
checkMessage (MailinglistMessageInterface $msg) | |
Called on each message read from a mailbox to see if we want to process it. More... | |
genericListMatch (MailinglistMessageInterface $msg) | |
generic_list_match() More... | |
processMessage (MailinglistMessageInterface $message) | |
message_process() More... | |
schema (&$schema, $type) | |
schema() More... | |
getMemberInfo ($email) | |
getMemberInfo() More... | |
getMemberPage ($page) | |
getMemberPage() More... | |
edit_form (&$form, &$form_state) | |
Implements ctools_export_ui::edit_form(), cross linked via mailinglist_export_ui.class.php. More... | |
edit_form_validate (&$form, &$form_state) | |
edit_form_validate() More... | |
Public Member Functions inherited from MailinglistExportable | |
get_setting ($name, $def=NULL) | |
get_settings() More... | |
created () | |
created() More... | |
edited ($old) | |
edited() More... | |
changedType (MailinglistPolymorpicExportableInterface $old) | |
changedType() More... | |
delete () | |
delete() More... | |
baseName () | |
baseName() More... | |
edit_form (&$form, &$form_state) | |
Implements ctools_export_ui::edit_form() called via mailinglist_export_ui Build an edit form for our object. More... | |
edit_form_validate (&$form, &$form_state) | |
Implements ctools_export_ui::edit_form_validate(). More... | |
edit_form_submit (&$form, &$form_state) | |
Implements ctools_export_ui::edit_form_submit(). More... | |
log ($str, $level=self::LOG_NOTICE, $parms=array()) | |
log() More... | |
log_screen ($str, $parms=array(), $level=self::LOG_NOTICE) | |
log_screen() More... | |
log_db ($str, $parms=array(), $level=self::LOG_ERROR) | |
log_db(). More... | |
log_file ($str, $parms=array(), $level=self::LOG_INFO) | |
log_file(). More... | |
MailinglistPolymorphicExportableInterface | |
MailinglistListInterface |
Additional Inherited Members | |
Data Fields inherited from MailinglistList | |
$operations | |
$parameters | |
Data Fields inherited from MailinglistExportable | |
$object_type | |
The type of object we are. More... | |
$settings | |
Generic Array to hold misc settings so all can use same schema. More... | |
$export_type | |
Needed by CTools. More... | |
const | LOG_OFF = 0 |
const | LOG_SCREEN = 1 |
const | LOG_DB = 2 |
const | LOG_DB_SCREEN = 3 |
const | LOG_FILE = 4 |
const | LOG_FILE_SCREEN = 5 |
const | LOG_DEBUG = WATCHDOG_DEBUG |
const | LOG_INFO = WATCHDOG_INFO |
const | LOG_NOTICE = WATCHDOG_NOTICE |
const | LOG_WARNING = WATCHDOG_WARNING |
const | LOG_ERROR = WATCHDOG_ERROR |
const | LOG_CRITICAL = WATCHDOG_CRITICAL |
const | LOG_ALERT = WATCHDOG_ALERT |
const | LOG_EMERGENCY = WATCHDOG_EMERGENCY |
$logging_screen = self::LOG_DEBUG | |
$logging_db = self::LOG_INFO | |
$logging_file = self::LOG_DEBUG | |
Mailman 2.1.x List Personality Plugin.
Definition at line 10 of file Mailman21List.class.php.
checkMessage | ( | MailinglistMessageInterface | $msg | ) |
Implements MailinglistList::checkMessage().
Implements MailinglistListInterface.
Definition at line 70 of file Mailman21List.class.php.
edit_form | ( | & | $form, |
& | $form_state | ||
) |
Implements ctools_export_ui::edit_form().
Definition at line 21 of file Mailman21List.class.php.
References _mailinglist_decode_password(), and MailinglistExportable\get_setting().
edit_form_submit | ( | & | $form, |
& | $form_state | ||
) |
Definition at line 51 of file Mailman21List.class.php.
References _mailinglist_encode_password().
getMemberInfo | ( | ) |
Get information about a subscriber
String with email address of member to look update |
Implements MailinglistListInterface.
Definition at line 94 of file Mailman21List.class.php.
References MailinglistExportable\get_setting(), getWebPage(), MAILINGLIST_SUB_DIGEST, MAILINGLIST_SUB_MIME_DIGEST, MAILINGLIST_SUB_NOMAIL, and MAILINGLIST_SUB_NORMAL.
getMemberPage | ( | $page | ) |
getMemberPage
$page | Page code to fetch. |
Note, this function needs mailinglist_members loaded
Implements MailinglistListInterface.
Definition at line 222 of file Mailman21List.class.php.
References MailinglistExportable\get_setting(), getWebPage(), MailinglistExportable\log(), MAILINGLIST_SUB_DIGEST, MAILINGLIST_SUB_MIME_DIGEST, MAILINGLIST_SUB_NOMAIL, and MAILINGLIST_SUB_NORMAL.
getWebPage | ( | $url, | |
$post = "" |
|||
) |
getWebPage
Fetch web page via cURL, and return resultant page.
$url | The URL to fetch. |
$post | Post data for request (if any) |
Definition at line 357 of file Mailman21List.class.php.
References _mailinglist_decode_password(), and MailinglistExportable\get_setting().
Referenced by getMemberInfo(), and getMemberPage().
OptionsForm | ( | $form, | |
$form_state | |||
) |
Definition at line 184 of file Mailman21List.class.php.
processMessage | ( | MailinglistMessageInterface | $msg | ) |
Implements MailinglistList::processMessage().
Implements MailinglistListInterface.
Definition at line 80 of file Mailman21List.class.php.
SubscribeForm | ( | & | $form, |
& | $form_state | ||
) |
UnsubscribeForm | ( | & | $form, |
& | $form_state | ||
) |
Definition at line 164 of file Mailman21List.class.php.