diff options
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r-- | framework/Web/UI/TControl.php | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 0b1dd087..6e34a439 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -10,12 +10,11 @@ */ namespace Prado\Web\UI; - -/** - * Includes TAttributeCollection and TControlAdapter class - */ -Prado::using('System.Collections.TAttributeCollection'); -Prado::using('System.Web.UI.TControlAdapter'); +use Prado\Exceptions\TInvalidDataValueException; +use Prado\Exceptions\TInvalidOperationException; +use Prado\Prado; +use Prado\TPropertyValue; +use Prado\Web\UI\ActiveControls\IActiveControl; /** * TControl class @@ -68,7 +67,7 @@ Prado::using('System.Web.UI.TControlAdapter'); * @package Prado\Web\UI * @since 3.0 */ -class TControl extends TApplicationComponent implements IRenderable, IBindable +class TControl extends \Prado\TApplicationComponent implements IRenderable, IBindable { /** * format of control ID @@ -846,7 +845,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable */ protected function dataBindProperties() { - Prado::trace("Data bind properties",'System.Web.UI.TControl'); + Prado::trace("Data bind properties",'Prado\Web\UI\TControl'); if(isset($this->_rf[self::RF_DATA_BINDINGS])) { if(($context=$this->getTemplateControl())===null) @@ -875,7 +874,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable */ protected function dataBindChildren() { - Prado::trace("dataBindChildren()",'System.Web.UI.TControl'); + Prado::trace("dataBindChildren()",'Prado\Web\UI\TControl'); if(isset($this->_rf[self::RF_CONTROLS])) { foreach($this->_rf[self::RF_CONTROLS] as $control) @@ -1385,7 +1384,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable */ public function onDataBinding($param) { - Prado::trace("onDataBinding()",'System.Web.UI.TControl'); + Prado::trace("onDataBinding()",'Prado\Web\UI\TControl'); $this->raiseEvent('OnDataBinding',$this,$param); } |