示例#1
0
 function __construct($headers, $msg = "")
 {
     parent::__construct();
     $this->_headers = $headers;
     $this->_message = $msg;
     $this->_set_content();
     return $this;
 }
示例#2
0
 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;
 }
示例#3
0
 function __construct($file)
 {
     parent::__construct();
     $this->filename = $file;
 }