Zend Framework
3.0
|
Zend Framework (http://framework.zend.com/) More...
Namespaces | |
namespace | Exception |
Zend Framework (http://framework.zend.com/) | |
namespace | Filter |
Zend Framework (http://framework.zend.com/) | |
namespace | Test |
Zend Framework (http://framework.zend.com/) | |
Classes | |
class | AbstractListenerAggregate |
Abstract aggregate listener. More... | |
class | Event |
Representation of an event. More... | |
interface | EventInterface |
Representation of an event. More... | |
class | EventManager |
Event manager: notification system. More... | |
interface | EventManagerAwareInterface |
Interface to automate setter injection for an EventManager instance. More... | |
interface | EventManagerInterface |
Interface for messengers. More... | |
interface | EventsCapableInterface |
Interface indicating that an object composes an EventManagerInterface instance. More... | |
class | FilterChain |
FilterChain: intercepting filter manager. More... | |
class | LazyEventListener |
Lazy listener instance for use with LazyListenerAggregate. More... | |
class | LazyListener |
Lazy listener instance. More... | |
class | LazyListenerAggregate |
Aggregate listener for attaching lazy listeners. More... | |
interface | ListenerAggregateInterface |
Interface for self-registering event listeners. More... | |
class | ResponseCollection |
Collection of signal handler return values. More... | |
class | SharedEventManager |
Shared/contextual EventManager. More... | |
interface | SharedEventManagerInterface |
Interface for shared event listener collections. More... | |
interface | SharedEventsCapableInterface |
Interface indicating that an object composes or can compose a SharedEventManagerInterface instance. More... | |
Functions | |
setEventManager (EventManagerInterface $events) | |
Set the event manager instance used by this context. | |
getEventManager () | |
Retrieve the event manager. | |
detach (EventManagerInterface $events) | |
| |
Variables | |
trait | EventManagerAwareTrait |
A trait for objects that provide events. | |
trait | ListenerAggregateTrait |
Provides logic to easily create aggregate listeners, without worrying about manually detaching events. | |
Zend Framework (http://framework.zend.com/)
for the canonical source repository Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) https://github.com/zendframework/zend-eventmanager/blob/master/LICENSE.md
Zend\EventManager\detach | ( | EventManagerInterface | $events | ) |
Zend\EventManager\getEventManager | ( | ) |
Retrieve the event manager.
Lazy-loads an EventManager instance if none registered.
Zend\EventManager\setEventManager | ( | EventManagerInterface | $events | ) |
Set the event manager instance used by this context.
For convenience, this method will also set the class name / LSB name as identifiers, in addition to any string or array of strings set to the $this->eventIdentifier property.
EventManagerInterface | $events |
trait EventManagerAwareTrait |
A trait for objects that provide events.
If you use this trait in an object, you will probably want to also implement EventManagerAwareInterface, which will make it so the default initializer in a ZF2 MVC application will automatically inject an instance of the EventManager into your object when it is pulled from the ServiceManager.
trait ListenerAggregateTrait |
Provides logic to easily create aggregate listeners, without worrying about manually detaching events.