From 55c4ac1bfe565f1ca7f537fdd8b7a201be28e581 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 10 Nov 2005 12:47:19 +0000 Subject: Initial import of prado framework --- framework/Exceptions/TErrorHandler.php | 48 ++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 framework/Exceptions/TErrorHandler.php (limited to 'framework/Exceptions/TErrorHandler.php') diff --git a/framework/Exceptions/TErrorHandler.php b/framework/Exceptions/TErrorHandler.php new file mode 100644 index 00000000..458d3169 --- /dev/null +++ b/framework/Exceptions/TErrorHandler.php @@ -0,0 +1,48 @@ +attachEventHandler('Error',array($this,'handle')); + $this->_initialized=true; + } + + /** + * @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; + } + + public function handle($sender,$param) + { echo '...........................'; + echo $param; + } +} + +?> \ No newline at end of file -- cgit v1.2.3