| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 238 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
EventDispatcher:: (10 methods):
dispatch()
getListeners()
getListenerPriority()
hasListeners()
addListener()
removeListener()
addSubscriber()
removeSubscriber()
doDispatch()
sortListeners()
Class: EventDispatcher - X-Ref
The EventDispatcherInterface is the central point of Symfony's event listener system.| dispatch($eventName, Event $event = null) X-Ref |
| {@inheritdoc} |
| getListeners($eventName = null) X-Ref |
| {@inheritdoc} |
| getListenerPriority($eventName, $listener) X-Ref |
| {@inheritdoc} |
| hasListeners($eventName = null) X-Ref |
| {@inheritdoc} |
| addListener($eventName, $listener, $priority = 0) X-Ref |
| {@inheritdoc} |
| removeListener($eventName, $listener) X-Ref |
| {@inheritdoc} |
| addSubscriber(EventSubscriberInterface $subscriber) X-Ref |
| {@inheritdoc} |
| removeSubscriber(EventSubscriberInterface $subscriber) X-Ref |
| {@inheritdoc} |
| doDispatch($listeners, $eventName, Event $event) X-Ref |
| Triggers the listeners of an event. This method can be overridden to add functionality that is executed for each listener. param: callable[] $listeners The event listeners param: string $eventName The name of the event to dispatch param: Event $event The event object to pass to the event handlers/listeners |
| sortListeners($eventName) X-Ref |
| Sorts the internal list of listeners for the given event by priority. param: string $eventName The name of the event |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |