public function getErrorHandler() { if (!$this->_errorHandler) { $this->_errorHandler = new TErrorHandler(); $this->_errorHandler->init(null); } return $this->_errorHandler; }