/**
  * Constructor
  *
  * @param ctrl_abstract $ctrl
  *
  */
 public function __construct(ctrl_abstract $ctrl = null)
 {
     $args = func_get_args();
     /* $ctrl = */
     array_shift($args);
     parent::__construct($args);
     $this->add_controller = $ctrl;
 }
Esempio n. 2
0
 /**
  * конструктор
  * 
  * инициирует необходимые параметры в свойствах родительского класса
  * 
  * @return void
  */
 public function __construct()
 {
     parent::__construct();
     $this->CharSet = CONF_DEFAULT_CHARSET;
     $this->Host = CONF_MAIL_SMTP_HOST;
     $this->Port = CONF_MAIL_SMTP_PORT;
     $this->Username = CONF_MAIL_SMTP_USER;
     $this->Password = CONF_MAIL_SMTP_PASS;
     $this->SMTPAuth = true;
     'smtp' === CONF_MAIL_METHOD ? $this->IsSMTP() : $this->IsMail();
     CONF_MAIL_FORMAT_HTML ? $this->IsHTML(true) : $this->IsHTML(false);
 }
Esempio n. 3
0
 function __construct()
 {
     parent::__construct();
 }