summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorxue <>2006-08-30 11:50:09 +0000
committerxue <>2006-08-30 11:50:09 +0000
commit64ed4e4c12d9f1da130aae8855d240192cf25104 (patch)
treeb411d3d52aa049a439cc4d8f34b4bfccb1fe53f6 /framework/Web/UI/TControl.php
parent6a92f398c8396f54e293cc021f0e1a98d4650ca2 (diff)
Fixed #349.
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index ecaf300c..e219f6b4 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -781,11 +781,8 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
public function dataBind()
{
- Prado::trace("Data bind properties",'System.Web.UI.TControl');
$this->dataBindProperties();
- Prado::trace("onDataBinding()",'System.Web.UI.TControl');
$this->onDataBinding(null);
- Prado::trace("dataBindChildren()",'System.Web.UI.TControl');
$this->dataBindChildren();
}
@@ -794,6 +791,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
protected function dataBindProperties()
{
+ Prado::trace("Data bind properties",'System.Web.UI.TControl');
if(isset($this->_rf[self::RF_DATA_BINDINGS]))
{
if(($context=$this->getTemplateControl())===null)
@@ -822,6 +820,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
protected function dataBindChildren()
{
+ Prado::trace("dataBindChildren()",'System.Web.UI.TControl');
if(isset($this->_rf[self::RF_CONTROLS]))
{
foreach($this->_rf[self::RF_CONTROLS] as $control)
@@ -1291,6 +1290,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
public function onDataBinding($param)
{
+ Prado::trace("onDataBinding()",'System.Web.UI.TControl');
$this->raiseEvent('OnDataBinding',$this,$param);
}