summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruacaman <>2011-03-09 18:27:47 +0000
committeruacaman <>2011-03-09 18:27:47 +0000
commit7719267ac491073581e93231c9efdf2c2362bcba (patch)
tree10766a6a7cb78e29e0450a6419961abca1118d85
parent88a3ef07397fbf679e0b70f9c73c4d4b806b0e41 (diff)
Issue 270.
Attributes changed to "protected": $_postData, $_restPostData, $_controlsPostDataChanged, $_controlsRequiringPostData, $_controlsRegisteredForPostData, $_formRendered, $_inFormRender, $_postDataLoaders, $_isLoadingPostData, Methods changed to "protected": raiseChangedEvents(), raisePostBackEvent()
-rw-r--r--framework/Web/UI/TPage.php22
1 files changed, 11 insertions, 11 deletions
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();