summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
committerFabio Bas <ctrlaltca@gmail.com>2015-01-22 09:14:12 +0100
commit5230f8f8a86fc1ae5d90f8c74ae65c93e197502b (patch)
treee870d29e21c14d5b1683d638dff978afe0a104fa /framework/Web/UI/TControl.php
parent53e4cd65205ac33d7dbc61a767f467c1b896dfc6 (diff)
Apply namespaces to class inheritances (pt1)
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php19
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);
}