From b4e9f6795206fab6b952f814ccf812677a34c635 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 7 Dec 2005 00:32:29 +0000 Subject: --- framework/Exceptions/TErrorHandler.php | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'framework/Exceptions') diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php index 913b3ac3..ebdaf41c 100644 --- a/framework/Exceptions/TErrorHandler.php +++ b/framework/Exceptions/TErrorHandler.php @@ -49,7 +49,7 @@ * @package System.Exceptions * @since 3.0 */ -class TErrorHandler extends TComponent implements IModule +class TErrorHandler extends TModule { /** * error template file basename @@ -64,10 +64,6 @@ class TErrorHandler extends TComponent implements IModule */ const SOURCE_LINES=12; - /** - * @var string module ID - */ - private $_id='error'; /** * @var TApplication application instance */ @@ -85,26 +81,12 @@ class TErrorHandler extends TComponent implements IModule */ public function init($application,$config) { + parent::init($application,$config); + $this->_application=$application; $application->setErrorHandler($this); } - /** - * @return string id of this module - */ - public function getID() - { - return $this->_id; - } - - /** - * @param string id of this module - */ - public function setID($value) - { - $this->_id=$value; - } - /** * @return string the directory containing error template files. */ -- cgit v1.2.3