public function __construct($config, $recipients, $token) { // set up the common stuff first parent::__construct($config, $recipients); $this->token = $token; $this->website_url = $config['website_url']; }
public function __construct($config, $recipients, $comment) { // set up the common stuff first parent::__construct($config, $recipients); // this email needs comment info $this->comment = $comment['comments'][0]; }
public function __construct($config, $recipients, TalkModel $talk, $comment) { // set up the common stuff first parent::__construct($config, $recipients); // this email needs talk and comment info $this->talk = $talk; $this->comment = $comment['comments'][0]; }
public function __construct($config, $recipients, $event, $count = null) { // set up the common stuff first parent::__construct($config, $recipients); // this email needs event info $this->event = $event; $this->count = $count; }
public function __construct($config, $recipients, $comment, $event) { // set up the common stuff first parent::__construct($config, $recipients); // this email needs comment info $this->comment = $comment['comments'][0]; $this->event = $event['events'][0]; $this->website_url = $config['website_url']; }
public function __construct($config) { $recipients = $config['email']['contact']; if (!is_array($recipients)) { $recipients = (array) $recipients; } // set up the common stuff parent::__construct($config, $recipients); $this->website_url = $config['website_url']; }