displayError($s); $this->_error = $s; } function displayError ($s) { global $gConf; transCheck ($this->getErrorPageXML ($s), $gConf['dir']['xsl'] . 'default_error.xsl', 1); exit; } /** * returns page XML */ function getErrorPageXML ($s) { return $this->addHeaderFooter ($s, $s); } // private functions } ?>