PHP Class Swiftriver\EventHandlers\UshahidiContentPushEventHandler

Inheritance: implements Swiftriver\Core\EventDistribution\IEventHandler
Afficher le fichier Open project: ushahidi/Swiftriver-2011

Méthodes publiques

Méthode Description
Description ( ) : string This method should return a description describing what exactly it is that your Event Handler does
HandleEvent ( GenericEvent $event, CoreConfigurationHandler $configuration, Log $logger ) Given a GenericEvent object, this method should do something amazing with the data contained in the event arguments.
Name ( ) : string This method should return the name of the event handler that you implement. This name should be unique across all event handlers and should be no more that 50 chars long
ReturnEventNamesToHandle ( ) : string[] This method should return the names of the events that your EventHandler wishes to subscribe to.
ReturnRequiredParameters ( ) : ConfigurationElement[] This method returns an array of the required paramters that are nessesary to configure this event handler.

Method Details

Description() public méthode

This method should return a description describing what exactly it is that your Event Handler does
public Description ( ) : string
Résultat string

HandleEvent() public méthode

Given a GenericEvent object, this method should do something amazing with the data contained in the event arguments.
public HandleEvent ( GenericEvent $event, CoreConfigurationHandler $configuration, Log $logger )
$event GenericEvent
$configuration Swiftriver\Core\Configuration\ConfigurationHandlers\CoreConfigurationHandler
$logger Log

Name() public méthode

This method should return the name of the event handler that you implement. This name should be unique across all event handlers and should be no more that 50 chars long
public Name ( ) : string
Résultat string

ReturnEventNamesToHandle() public méthode

This method should return the names of the events that your EventHandler wishes to subscribe to.
public ReturnEventNamesToHandle ( ) : string[]
Résultat string[]

ReturnRequiredParameters() public méthode

This method returns an array of the required paramters that are nessesary to configure this event handler.
public ReturnRequiredParameters ( ) : ConfigurationElement[]
Résultat Swiftriver\Core\ObjectModel\ConfigurationElement[]