示例#1
0
 public function __construct($message_code, $status = 0, $message = null)
 {
     if (!$message) {
         $this->_tpl = produce_tpl();
         $this->_Data_exception = $this->_parse_tpl($this->_get_template_data());
     }
     parent::__construct(PROJECT_NAME . (!$message ? $this->_get_message($message_code) : $message), $status ? 1 : 0);
 }
示例#2
0
 function create_objects()
 {
     $this->set_tpl(produce_tpl());
 }
示例#3
0
 function MailTemplated()
 {
     $this->tpl = produce_tpl();
     $this->set_content_type('text/plain');
     $this->set_encoding("UTF-8");
 }