summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-07-18 21:04:44 +0000
committerxue <>2006-07-18 21:04:44 +0000
commit2fb31254aaaa762a6260f42884ad7544e20c909a (patch)
treecfdd5a0dec9f50d43019ba55605d3372e71e8d36 /framework/Web
parent13ef18b37b46898d1fd93238774a1d15b9ecf46a (diff)
Updated visibility of broadcastEvent() method.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TControl.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index 01c57795..29648553 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -1368,7 +1368,6 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
return false;
}
-
/**
* Broadcasts an event.
* The event will be sent to all controls on the current page hierarchy.
@@ -1385,7 +1384,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
* @param TControl sender of this event
* @param TEventParameter event parameter
*/
- protected function broadcastEvent($name,$sender,$param)
+ public function broadcastEvent($name,$sender,$param)
{
$rootControl=(($page=$this->getPage())===null)?$this:$page;
$rootControl->broadcastEventInternal($name,$sender,new TBroadcastEventParameter($name,$param));
@@ -1398,7 +1397,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable
* @param TControl sender of the event
* @param TBroadcastEventParameter event parameter
*/
- final protected function broadcastEventInternal($name,$sender,$param)
+ private function broadcastEventInternal($name,$sender,$param)
{
if($this->hasEvent($name))
$this->raiseEvent($name,$sender,$param->getParameter());