public function SimplenewsRecipientHandlerBase::__construct in Simplenews 7.2
Parameters
SimplenewsNewsletter $newsletter: The simplenews newsletter.
String $handler: The name of the handler plugin to use.
array $settings: An array of settings used by the handler to build the list of recipients.
File
- includes/
simplenews.recipient_handlers.inc, line 65 - Provide helpful functions and Interfaces for recipient handler plugins.
Class
- SimplenewsRecipientHandlerBase
- Base class for all Simplenews Recipient Handler classes.
Code
public function __construct($newsletter, $handler, $settings = array()) {
$this->newsletter = $newsletter;
$this->handler = $handler;
$this->settings = $settings;
}