From 8a90043a50b3f8cb835bd6b3d2a9f8cc76704e4c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 24 Oct 2013 23:45:36 +0200 Subject: More work on ajax --- framework/Web/UI/TPage.php | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'framework/Web/UI/TPage.php') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index 39656e13..4e8652f4 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -154,10 +154,6 @@ class TPage extends TTemplateControl * @var string state string to be stored on the client side */ private $_clientState=''; - /** - * @var array post data loader IDs. - */ - protected $_postDataLoaders=array(); /** * @var boolean true if loading post data. */ @@ -426,27 +422,6 @@ class TPage extends TTemplateControl $this->getAdapter()->setCallbackEventParameter($value); } - /** - * Register post data loaders for Callback to collect post data. - * This method should only be called by framework developers. - * @param TControl control that requires post data. - * @see TControl::preRenderRecursive(); - */ - public function registerPostDataLoader($control) - { - $id=is_string($control)?$control:$control->getUniqueID(); - $this->_postDataLoaders[$id] = true; - } - - /** - * Get a list of IDs of controls that are enabled and require post data. - * @return array list of IDs implementing IPostBackDataHandler - */ - public function getPostDataLoaders() - { - return array_keys($this->_postDataLoaders); - } - /** * @return TForm the form on the page */ @@ -825,7 +800,6 @@ class TPage extends TTemplateControl { $id=is_string($control)?$control:$control->getUniqueID(); $this->_controlsRegisteredForPostData[$id]=true; - $this->registerPostDataLoader($id); $params=func_get_args(); foreach($this->getCachingStack() as $item) $item->registerAction('Page','registerRequiresPostData',array($id)); -- cgit v1.2.3