public function __construct(parent $parent, $width = null) { parent::__construct($parent); if (isset($width)) { $this->width = $width; } }
/** * Initializes the parser, and the mail envelope if already known. */ public function __construct(parent $parent, $sender = null, $recipient = null, $ip = null, $helo = null, $hostname = null) { $this->envelope = (object) array('sender' => $sender, 'recipient' => $recipient, 'clientIp' => $ip, 'clientHelo' => $helo, 'clientHostname' => $hostname); $this->mimePart = (object) $this->mimePart; $this->nextType = (object) $this->nextType; parent::__construct($parent); }
public function __construct(parent $parent, array $headers) { if ($headers) { parent::__construct($parent); foreach ($headers as $h) { $this->caughtHeaders[$h] = false; } } }
public function __construct(parent $parent) { parent::__construct($parent); if (__CLASS__ !== get_class($this)) { if (isset($this->dependencies['Mail\\Auth']->authenticationResults) && $this->dependencies['Mail\\Auth'] instanceof self) { $this->authenticationResults =& $this->dependencies['Mail\\Auth']->authenticationResults[$this->authClass]; } else { user_error(__CLASS__ . ' dependency is not loaded'); } } }
public function __construct(parent $parent) { parent::__construct($parent); $this->register(array('catchBounceExclusivity' => T_BOUNCE_EXCLUSIVITY)); if (__CLASS__ !== ($c = get_class($this))) { if (isset($this->dependencies['Mail\\Bounce']->bounceReports) && $this->dependencies['Mail\\Bounce'] instanceof self) { $this->bounceReports =& $this->dependencies['Mail\\Bounce']->bounceReports[$this->bounceClass][$c]; } else { user_error(__CLASS__ . ' dependency is not loaded'); } } }
public function __construct(parent $parent, $stream) { parent::__construct($parent); $this->stream = $stream; }