You are here

public function NewsletterBasic::__construct in Newsletter 7

Same name and namespace in other branches
  1. 7.2 includes/newsletter.basic.inc \NewsletterBasic::__construct()
2 calls to NewsletterBasic::__construct()
NewsletterAutomated::__construct in includes/newsletter.automated.inc
NewsletterCustom::__construct in includes/newsletter.custom.inc
2 methods override NewsletterBasic::__construct()
NewsletterAutomated::__construct in includes/newsletter.automated.inc
NewsletterCustom::__construct in includes/newsletter.custom.inc

File

includes/newsletter.basic.inc, line 18
Contains NewsletterBasic class and newsletter's module implementation of drupal mail system.

Class

NewsletterBasic
Basic Newsletter class.

Code

public function __construct() {
  $this->from = variable_get('newsletter_from');
  $this->format = variable_get('newsletter_format', 'html');
  $this->language = language_default()->language;
}