PHP Class Swiftriver\Core\EventDistribution\GenericEvent

Author: mg[at]swiftly[dot]org
ファイルを表示 Open project: ushahidi/Swiftriver-2011

Public Properties

Property Type Description
$arguments The event arguments, these can be anything held in an associative aray, Event handlers can interpret the data in this array to act on the raising of this event
$name string The name of the event, event handlers should be listening to raised events and filtering only the ones they want to handle based on this attribute. All the strings returned should be accessed throught the \Swiftriver\Core\EventDistribution\EventEnumeration static enumerator by calling EventEnumeration::[event]

Public Methods

Method Description
__construct ( string $name, array() $arguments ) The constructor for a generic event

Method Details

__construct() public method

The constructor for a generic event
public __construct ( string $name, array() $arguments )
$name string
$arguments array()

Property Details

$arguments public_oe property

The event arguments, these can be anything held in an associative aray, Event handlers can interpret the data in this array to act on the raising of this event
public $arguments

$name public_oe property

The name of the event, event handlers should be listening to raised events and filtering only the ones they want to handle based on this attribute. All the strings returned should be accessed throught the \Swiftriver\Core\EventDistribution\EventEnumeration static enumerator by calling EventEnumeration::[event]
public string $name
return string