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/TRepeater.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/TRepeater.php')
-rw-r--r-- | framework/Web/UI/WebControls/TRepeater.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index a122f387..43b70d2d 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.php @@ -307,7 +307,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * 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);
@@ -320,7 +320,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * 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())
$this->restoreItemsFromViewState();
@@ -400,7 +400,7 @@ class TRepeater extends TDataBoundControl 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 TRepeaterCommandEventParameter)
{
@@ -421,7 +421,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * so that event handlers have chance to respond to the event.
* @param TRepeaterItemEventParameter event parameter
*/
- protected function onItemCreated($param)
+ public function onItemCreated($param)
{
$this->raiseEvent('OnItemCreated',$this,$param);
}
@@ -435,7 +435,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * so that event handlers have chance to respond to the event.
* @param TRepeaterItemEventParameter event parameter
*/
- protected function onItemDataBound($param)
+ public function onItemDataBound($param)
{
$this->raiseEvent('OnItemDataBound',$this,$param);
}
@@ -454,7 +454,7 @@ class TRepeater extends TDataBoundControl implements INamingContainer * event handlers have chance to respond to the event.
* @param TRepeaterCommandEventParameter event parameter
*/
- protected function onItemCommand($param)
+ public function onItemCommand($param)
{
$this->raiseEvent('OnItemCommand',$this,$param);
}
@@ -636,7 +636,7 @@ class TRepeaterItem extends TControl 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)
{
|