summaryrefslogtreecommitdiff
path: root/framework/Exceptions/TErrorHandler.php
diff options
context:
space:
mode:
authorxue <>2005-12-07 00:32:29 +0000
committerxue <>2005-12-07 00:32:29 +0000
commitb4e9f6795206fab6b952f814ccf812677a34c635 (patch)
treee3be7c6031cd947f233d9e6cbcdec813e391f5ef /framework/Exceptions/TErrorHandler.php
parentec46fdc945f591e910051aca0457097825afd34c (diff)
Diffstat (limited to 'framework/Exceptions/TErrorHandler.php')
-rw-r--r--framework/Exceptions/TErrorHandler.php24
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()