summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TControl.php
diff options
context:
space:
mode:
authorwei <>2006-08-27 04:18:31 +0000
committerwei <>2006-08-27 04:18:31 +0000
commit887da1b3668499821f046665b461aeadb0a9fb2e (patch)
tree776f742ea179c823c90e7b81d2262a4344610eca /framework/Web/UI/TControl.php
parent1180e6486139a9c9662984367c4f624394e06f35 (diff)
Adding TActiveImage and TActiveImageButton
Diffstat (limited to 'framework/Web/UI/TControl.php')
-rw-r--r--framework/Web/UI/TControl.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 2bc6ba6a..4e9361aa 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -471,7 +471,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
public function setCustomData($value)
{
- $this->getViewState('CustomData',$value,null);
+ $this->setViewState('CustomData',$value,null);
}
/**
@@ -1034,7 +1034,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
*/
public function getHasInitialized()
{
- return $this->getControlStage() >= self::CS_INITIALIZED;
+ return $this->getControlStage() >= self::CS_INITIALIZED;
}
/**
@@ -1052,7 +1052,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
{
return $this->getControlStage() >= self::CS_LOADED;
}
-
+
/**
* @return boolean true if onPreRender event has raised.
*/
@@ -1300,14 +1300,14 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
}
$this->_stage=self::CS_PRERENDERED;
}
-
+
/**
- * Add controls implementing IPostBackDataHandler to post data loaders.
+ * Add controls implementing IPostBackDataHandler to post data loaders.
*/
protected function addToPostDataLoader()
{
if($this instanceof IPostBackDataHandler)
- $this->getPage()->registerPostDataLoader($this);
+ $this->getPage()->registerPostDataLoader($this);
}
/**