Interface to a mailing list. More...
Public Member Functions | |
MailinglistListInterface | |
checkMessage (MailinglistMessageInterface $message) | |
checkMessage() More... | |
processMessage (MailinglistMessageInterface $message) | |
processMessage() More... | |
schema (&$schema, $type) | |
schema(); More... | |
getMemberInfo ($email) | |
getMemberInfo() More... | |
getMemberPage ($page) | |
getMemberPage() More... | |
Interface to a mailing list.
Definition at line 12 of file MailinglistListInterface.php.
checkMessage | ( | MailinglistMessageInterface | $message | ) |
Called on each message read from a mailbox to see if we want to process it.
$message | a MailinglistMessage object with the email received |
Implemented in Mailman21List, MailinglistGenericList, and MailinglistList.
getMemberInfo | ( | ) |
Get information about a subscriber
String with email address of member to look update |
Implemented in Mailman21List, and MailinglistList.
getMemberPage | ( | $page | ) |
get a page of membership information
$page | Page to fetch, FALSE is first page, after that repeat call with ['next'] info in the returned array. |
Implemented in Mailman21List, and MailinglistList.
processMessage | ( | MailinglistMessageInterface | $message | ) |
Processes the receipt of a message from the list. It is expected that this will call hook_mailinglist_message_alter() and hook_mailinglist_message(). MailinglistList::processMessage() does this for classes derived from it.
Typically called by checkMessage, by may also be called by an importer that knows what list a message is from (and might not pass the chekMessage test).
$message | a MailinglistMessage object with the email to process. |
Implemented in Mailman21List, and MailinglistList.
schema | ( | & | $schema, |
$type | |||
) |
Update schema for a list.
$schema | Array with schema for the list. |
$type | The operation the schema is to support |
Implemented in MailinglistList.
Referenced by _mailinglist_members_list_schema().