From 88a3ef07397fbf679e0b70f9c73c4d4b806b0e41 Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Sat, 26 Feb 2011 14:18:50 +0000 Subject: CHG: Remove TReflectionClass and all references since equals ReflectionClass --- framework/TComponent.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'framework/TComponent.php') diff --git a/framework/TComponent.php b/framework/TComponent.php index 9b5331ef..9f51a4ef 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -90,8 +90,8 @@ class TComponent */ public function __construct() { } - - + + /** * Returns a property value or an event handler list by property or event name. * Do not call this method. This is a PHP magic method that we override @@ -365,7 +365,7 @@ class TComponent $method=substr($handler,$pos+1); if(method_exists($object,$method)) $object->$method($sender,$param); - + else throw new TInvalidDataValueException('component_eventhandler_invalid',get_class($this),$name,$handler); } @@ -466,7 +466,7 @@ class TComponent public function addParsedObject($object) { } - + /** * Returns the named behavior object. * The name 'asa' stands for 'as a'. @@ -893,7 +893,7 @@ class TComponentReflection extends TComponent private function reflect() { - $class=new TReflectionClass($this->_className); + $class=new ReflectionClass($this->_className); $properties=array(); $events=array(); $methods=array(); -- cgit v1.2.3