_appMessage[] = $message; } /** * * @return String */ public function toString() { if (is_array($this->_appMessage)) { $str = implode("\n", $this->_appMessage) . "\n"; } else { $str = $this->_appMessage; } $str .= parent::__toString(); $pathRemove = array(realpath(ZEED_ROOT), realpath(ZEED_PATH)); $pathReplace = array('ZEED_ROOT', 'ZEED_PATH'); $str = str_replace($pathRemove, $pathReplace, $str); return $str; } public function display($message = null) { if (is_null($message)) { $message = $this->getMessage(); } echo '