diff options
Diffstat (limited to 'framework/Exceptions')
-rw-r--r-- | framework/Exceptions/TErrorHandler.php | 24 |
1 files changed, 3 insertions, 21 deletions
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
@@ -65,10 +65,6 @@ class TErrorHandler extends TComponent implements IModule const SOURCE_LINES=12;
/**
- * @var string module ID
- */
- private $_id='error';
- /**
* @var TApplication application instance
*/
private $_application;
@@ -85,27 +81,13 @@ 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.
*/
public function getErrorTemplatePath()
|