Erfurt_EventDispatcherErfurt Event Dispatcher Provides functionality to announce methods/functions to named events, announced methods will be started when the event is triggered. Methods can be ranked in position.
| Variable Summary | |
|---|---|
| mixed | $eventTraceState |
| Method Summary | |
|---|---|
| Erfurt_EventDispatcher | __construct ( $o) |
| Bool | announce (String $eventname, String $functionname, [Array $position = array()] ) |
| Mixed | isAnnounced (String $eventname, Mixed $nameOrPosition) |
| Array | listAnnounced (String $eventname) |
| Mixed | reannounce ( $eventname, $functionname, [ $position = array()] ) |
| Bool | trigger (String $eventname, &$attribute, Pointer $attribute) |
Erfurt_EventDispatcher::announce() announce a function to a named event
Erfurt_EventDispatcher::isAnnounced()
Erfurt_EventDispatcher::listAnnounced()
Erfurt_EventDispatcher::reannounce() re-announce a function to a named event, parameters are exact the same like at announce(). Reannouncements only work with already announced functions.
Erfurt_EventDispatcher::trigger()
Documentation generated on 2009-01-06 at 01:01 by phpDocumentor 1.4.1