You are here

interface SimplenewsRecipientHandlerInterface in Simplenews 7.2

Interface for Simplenews Recipient Handler Classes.

Hierarchy

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

Namesort descending Modifiers Type Description Overrides
SimplenewsRecipientHandlerInterface::buildRecipientCountQuery function Build a query to count the number of recipients. 1
SimplenewsRecipientHandlerInterface::buildRecipientQuery function Build the query that gets the list of recipients. 1