PHP Class Swiftriver\Core\EventDistribution\EventDistributor

Author: mg[at]swiftly[dot]org
Afficher le fichier Open project: ushahidi/Swiftriver-2011

Méthodes publiques

Méthode 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 méthode

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

RaiseAndDistributeEvent() public méthode

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

__construct() public méthode

The constructor for the EventDistributor class
public __construct ( )