Source for file EventHandlerCollection.php
Documentation is available at EventHandlerCollection.php
* EventHandlerCollection class
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
$this->handlers = new ArrayObject();
public function Add($handler)
$this->handlers->Append($handler);
public function RaiseEvent($event, $sender, $args)
foreach ($this->handlers as $handler)
if ($handler->GetEventName() == $event)
$handler->Raise($sender, $args);
|