From 606874e9a883ae547df198498fce6fca7b735466 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 10 Aug 2015 19:50:41 +0200 Subject: Fix TProperyValue::ensureEnum and some unit tests class names --- framework/TComponent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/TComponent.php') diff --git a/framework/TComponent.php b/framework/TComponent.php index 447f695e..5d31df91 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -432,7 +432,7 @@ class TComponent foreach($fx as $func) $this->attachEventHandler($func,array($this,$func)); - if(is_a($this,'IDynamicMethods')) { + if(is_a($this,'Prado\\Util\\IDynamicMethods')) { $this->attachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER,array($this,'__dycall')); array_push($fx,TComponent::GLOBAL_RAISE_EVENT_LISTENER); } @@ -466,7 +466,7 @@ class TComponent foreach($fx as $func) $this->detachEventHandler($func,array($this,$func)); - if(is_a($this,'IDynamicMethods')) { + if(is_a($this,'Prado\\Util\\IDynamicMethods')) { $this->detachEventHandler(TComponent::GLOBAL_RAISE_EVENT_LISTENER,array($this,'__dycall')); array_push($fx,TComponent::GLOBAL_RAISE_EVENT_LISTENER); } -- cgit v1.2.3