diff options
author | xue <> | 2006-01-31 01:30:28 +0000 |
---|---|---|
committer | xue <> | 2006-01-31 01:30:28 +0000 |
commit | 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (patch) | |
tree | 598a306e5431e8dccf81ce6cdf812902145f22b6 /framework/Web/UI/WebControls/TDataGrid.php | |
parent | e326bab1cc979cadb01ef3e3c213838e046a42d7 (diff) |
All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1.
Diffstat (limited to 'framework/Web/UI/WebControls/TDataGrid.php')
-rw-r--r-- | framework/Web/UI/WebControls/TDataGrid.php | 8 |
1 files changed, 4 insertions, 4 deletions
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)
{
|