From 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 31 Jan 2006 01:30:28 +0000 Subject: All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1. --- framework/Web/UI/WebControls/TDataBoundControl.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/Web/UI/WebControls/TDataBoundControl.php') diff --git a/framework/Web/UI/WebControls/TDataBoundControl.php b/framework/Web/UI/WebControls/TDataBoundControl.php index 5145b532..026d2e86 100644 --- a/framework/Web/UI/WebControls/TDataBoundControl.php +++ b/framework/Web/UI/WebControls/TDataBoundControl.php @@ -98,7 +98,7 @@ abstract class TDataBoundControl extends TWebControl * Sets {@link setRequiresDataBinding RequiresDataBinding} as true if the control is initialized. * This method is invoked when either {@link setDataSource} or {@link setDataSourceID} is changed. */ - protected function onDataSourceChanged() + public function onDataSourceChanged() { $this->_currentViewValid=false; $this->_currentDataSourceValid=false; @@ -280,7 +280,7 @@ abstract class TDataBoundControl extends TWebControl * This method overrides the parent implementation. * @param TEventParameter event parameter */ - protected function onInit($param) + public function onInit($param) { parent::onInit($param); $page=$this->getPage(); @@ -293,7 +293,7 @@ abstract class TDataBoundControl extends TWebControl * @param mixed event sender * @param TEventParameter event parameter */ - protected function onPagePreLoad($sender,$param) + public function onPagePreLoad($sender,$param) { $this->_initialized=true; $isPostBack=$this->getPage()->getIsPostBack(); @@ -306,7 +306,7 @@ abstract class TDataBoundControl extends TWebControl * This method overrides the parent implementation. * @param TEventParameter event parameter */ - protected function onPreRender($param) + public function onPreRender($param) { $this->_prerendered=true; $this->ensureDataBound(); -- cgit v1.2.3