interface SimplenewsRecipientHandlerInterface in Simplenews 7.2
Interface for Simplenews Recipient Handler Classes.
Hierarchy
- interface \SimplenewsRecipientHandlerInterface extends \Countable
Expanded class hierarchy of SimplenewsRecipientHandlerInterface
All classes that implement SimplenewsRecipientHandlerInterface
File
- includes/
simplenews.recipient_handlers.inc, line 10 - Provide helpful functions and Interfaces for recipient handler plugins.
View source
interface SimplenewsRecipientHandlerInterface extends Countable {
/**
* Build the query that gets the list of recipients.
*
* @return A SelectQuery object with the columns 'snid', 'mail' and
* 'newsletter_id' for each recipient.
*/
function buildRecipientQuery();
/**
* Build a query to count the number of recipients.
*
* @return A SelectQuery object to count the number of recipients.
*/
function buildRecipientCountQuery();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SimplenewsRecipientHandlerInterface:: |
function | Build a query to count the number of recipients. | 1 | |
SimplenewsRecipientHandlerInterface:: |
function | Build the query that gets the list of recipients. | 1 |