function __construct($headers, $msg = "") { parent::__construct(); $this->_headers = $headers; $this->_message = $msg; $this->_set_content(); return $this; }
function __construct($message = NULL, $type = EBTMSG_NONE) { parent::__construct(); switch ($type) { case EBTMSG_FILE: $this->read($message); break; case EBTMSG_CONTENT: $this->_raw = $message; break; default: break; } return $this; }
function __construct($file) { parent::__construct(); $this->filename = $file; }