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/TDataGrid.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/Web/UI/WebControls/TDataGrid.php') diff --git a/framework/Web/UI/WebControls/TDataGrid.php b/framework/Web/UI/WebControls/TDataGrid.php index 0aad717d..9d55f37e 100644 --- a/framework/Web/UI/WebControls/TDataGrid.php +++ b/framework/Web/UI/WebControls/TDataGrid.php @@ -565,7 +565,7 @@ class TDataGrid extends TBaseDataList * @param TEventParameter event parameter * @return boolean whether the event bubbling should stop here. */ - protected function onBubbleEvent($sender,$param) + public function onBubbleEvent($sender,$param) { if($param instanceof TDataGridCommandEventParameter) { @@ -720,7 +720,7 @@ class TDataGrid extends TBaseDataList * This method is invoked right before control state is to be saved. * @param mixed event parameter */ - protected function onSaveState($param) + public function onSaveState($param) { if($this->_items) $this->setViewState('ItemCount',$this->_items->getCount(),0); @@ -742,7 +742,7 @@ class TDataGrid extends TBaseDataList * This method is invoked right after control state is loaded. * @param mixed event parameter */ - protected function onLoadState($param) + public function onLoadState($param) { if(!$this->getIsDataBound()) { @@ -1527,7 +1527,7 @@ class TDataGridItem extends TTableRow implements INamingContainer * @param TEventParameter event parameter * @return boolean whether the event bubbling should stop here. */ - protected function onBubbleEvent($sender,$param) + public function onBubbleEvent($sender,$param) { if($param instanceof TCommandEventParameter) { -- cgit v1.2.3