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); }
function create_objects() { $this->set_tpl(produce_tpl()); }
function MailTemplated() { $this->tpl = produce_tpl(); $this->set_content_type('text/plain'); $this->set_encoding("UTF-8"); }