PHP Класс Swiftriver\Core\EventDistribution\GenericEvent

Автор: mg[at]swiftly[dot]org
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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]

Открытые методы

Метод Описание
__construct ( string $name, array() $arguments ) The constructor for a generic event

Описание методов

__construct() публичный Метод

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

Описание свойств

$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
public $arguments

$name публичное свойство

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
Результат string