/** * Constructor. * * @param Horde_Mail_Transport $mail The mail transport to use. * @param string $email E-mail address to send reports to. * @param string $from E-mail address to send reports from. * @param string $user A user name for information purposes. * @param string $format E-mail format. Either 'redirect' or * 'digest'. * @param array $opts Additional options: * - digest_limit_msgs: (integer) Maximum number of messages allowed in * a digest. * - digest_limit_size: (integer) Maximum size of a digest. */ public function __construct($mail, $email, $from, $user, $format, array $opts = array()) { parent::__construct(); $this->_mail = $mail; $this->_email = $email; $this->_from_addr = $from; $this->_user = $user; $this->_format = $format; $this->_opts = $opts; }
/** * Constructor. * * @param boolean $success Success status. */ public function __construct($success) { parent::__construct(); $this->_success = $success; }
/** * Constructor. * * @param string $binary Binary location. */ public function __construct($binary) { parent::__construct(); $this->_binary = $binary; }