[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
Zend Framework (http://framework.zend.com/)
Copyright: | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
License: | https://github.com/zendframework/zend-eventmanager/blob/master/LICENSE.md |
File Size: | 59 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SharedEventManagerInterface:: (4 methods):
attach()
detach()
getListeners()
clearListeners()
Interface: SharedEventManagerInterface - X-Ref
Interface for shared event listener collectionsattach($identifier, $eventName, callable $listener, $priority = 1) X-Ref |
Attach a listener to an event emitted by components with specific identifiers. param: string $identifier Identifier for event emitting component param: string $eventName param: callable $listener Listener that will handle the event. param: int $priority Priority at which listener should execute |
detach(callable $listener, $identifier = null, $eventName = null) X-Ref |
Detach a shared listener. Allows detaching a listener from one or more events to which it may be attached. param: callable $listener Listener to detach. param: null|string $identifier Identifier from which to detach; null indicates param: null|string $eventName Event from which to detach; null indicates |
getListeners(array $identifiers, $eventName) X-Ref |
Retrieve all listeners for given identifiers param: array $identifiers param: string $eventName return: array |
clearListeners($identifier, $eventName = null) X-Ref |
Clear all listeners for a given identifier, optionally for a specific event param: string $identifier param: null|string $eventName |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |