public function NewsletterCustom::__construct in Newsletter 7
Same name and namespace in other branches
- 7.2 includes/newsletter.custom.inc \NewsletterCustom::__construct()
Overrides NewsletterBasic::__construct
File
- includes/
newsletter.custom.inc, line 12
Class
- NewsletterCustom
- Newsletter class that sends custom newsletters.
Code
public function __construct($subscribers, $ntid, $nnid = NULL) {
parent::__construct();
$this->template = newsletter_template_load($ntid);
$this->subscribers = $subscribers;
$this->newsletter = newsletter_newsletter_load($nnid);
}