From 7719267ac491073581e93231c9efdf2c2362bcba Mon Sep 17 00:00:00 2001 From: uacaman <> Date: Wed, 9 Mar 2011 18:27:47 +0000 Subject: Issue 270. Attributes changed to "protected": $_postData, $_restPostData, $_controlsPostDataChanged, $_controlsRequiringPostData, $_controlsRegisteredForPostData, $_formRendered, $_inFormRender, $_postDataLoaders, $_isLoadingPostData, Methods changed to "protected": raiseChangedEvents(), raisePostBackEvent() --- framework/Web/UI/TPage.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'framework/Web/UI/TPage.php') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index 05da940e..0405309d 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -96,23 +96,23 @@ class TPage extends TTemplateControl implements IPageEvents /** * @var TMap data post back by user */ - private $_postData; + protected $_postData; /** * @var TMap postback data that is not handled during first invocation of LoadPostData. */ - private $_restPostData; + protected $_restPostData; /** * @var array list of controls whose data have been changed due to the postback */ - private $_controlsPostDataChanged=array(); + protected $_controlsPostDataChanged=array(); /** * @var array list of controls that need to load post data in the current request */ - private $_controlsRequiringPostData=array(); + protected $_controlsRequiringPostData=array(); /** * @var array list of controls that need to load post data in the next postback */ - private $_controlsRegisteredForPostData=array(); + protected $_controlsRegisteredForPostData=array(); /** * @var TControl control that needs to raise postback event */ @@ -124,11 +124,11 @@ class TPage extends TTemplateControl implements IPageEvents /** * @var boolean whether the form has been rendered */ - private $_formRendered=false; + protected $_formRendered=false; /** * @var boolean whether the current rendering is within a form */ - private $_inFormRender=false; + protected $_inFormRender=false; /** * @var TControl|string the control or the ID of the element on the page to be focused when the page is sent back to user */ @@ -169,11 +169,11 @@ class TPage extends TTemplateControl implements IPageEvents /** * @var array post data loader IDs. */ - private $_postDataLoaders=array(); + protected $_postDataLoaders=array(); /** * @var boolean true if loading post data. */ - private $_isLoadingPostData=false; + protected $_isLoadingPostData=false; /** * @var boolean whether client supports javascript */ @@ -929,7 +929,7 @@ class TPage extends TTemplateControl implements IPageEvents /** * Raises OnPostDataChangedEvent for controls whose data have been changed due to the postback. */ - private function raiseChangedEvents() + protected function raiseChangedEvents() { foreach($this->_controlsPostDataChanged as $control) $control->raisePostDataChangedEvent(); @@ -938,7 +938,7 @@ class TPage extends TTemplateControl implements IPageEvents /** * Raises PostBack event. */ - private function raisePostBackEvent() + protected function raisePostBackEvent() { if(($postBackHandler=$this->getPostBackEventTarget())===null) $this->validate(); -- cgit v1.2.3