PHP Class Swiftriver\Core\EventDistribution\EventDistributor

Author: mg[at]swiftly[dot]org
Exibir arquivo Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
ListAllAvailableEventHandlers ( ) : Swiftriver\Core\EventDistribution\IEventHandler[] Returns all the classes that implement the IEventHandler interface.
RaiseAndDistributeEvent ( GenericEvent $event ) Function to Raise system events and distribute them to the configured Event handlers.
__construct ( ) The constructor for the EventDistributor class

Method Details

ListAllAvailableEventHandlers() public method

Returns all the classes that implement the IEventHandler interface.
public ListAllAvailableEventHandlers ( ) : Swiftriver\Core\EventDistribution\IEventHandler[]
return Swiftriver\Core\EventDistribution\IEventHandler[]

RaiseAndDistributeEvent() public method

Function to Raise system events and distribute them to the configured Event handlers.
public RaiseAndDistributeEvent ( GenericEvent $event )
$event GenericEvent

__construct() public method

The constructor for the EventDistributor class
public __construct ( )