summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TPage.php
diff options
context:
space:
mode:
authorxue <>2006-02-02 23:53:32 +0000
committerxue <>2006-02-02 23:53:32 +0000
commit81d3bc50d96a11bd411f8f0fa5831a85228ffe4e (patch)
tree16cc6afdef11be7708502ebf2f22c8486134710f /framework/Web/UI/TPage.php
parent4724cb4ed35c6cdb31e2c3381002f62bd6530e5a (diff)
Modified onSaveState to saveState, and onLoadState to loadState.
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r--framework/Web/UI/TPage.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index 5f583f0b..11f89ab5 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -525,11 +525,10 @@ class TPage extends TTemplateControl
* This method is invoked when control state is to be saved.
* You can override this method to do last step state saving.
* Parent implementation must be invoked.
- * @param TEventParameter event parameter
*/
- public function onSaveState($param)
+ public function saveState()
{
- parent::onSaveState($param);
+ parent::saveState();
$this->setViewState('ControlsRequiringPostBack',$this->_controlsRegisteredForPostData,array());
}
@@ -537,12 +536,11 @@ class TPage extends TTemplateControl
* This method is invoked right after the control has loaded its state.
* You can override this method to initialize data from the control state.
* Parent implementation must be invoked.
- * @param TEventParameter
*/
- public function onLoadState($param)
+ public function loadState()
{
+ parent::loadState();
$this->_controlsRequiringPostData=$this->getViewState('ControlsRequiringPostBack',array());
- parent::onLoadState($param);
}
/**