Abstract aggregate listener
attach(\Zend\EventManager\EventManagerInterface $events) : void
Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.
inherited_from | \Zend\Mvc\View\Http\InjectViewModelListener::attach() |
---|
detach(\Zend\EventManager\EventManagerInterface $events) : void
inherited_from | \Zend\EventManager\AbstractListenerAggregate::detach() |
---|---|
inherited_from | \Zend\Mvc\View\Http\InjectViewModelListener::detach() |
injectViewModel(\Zend\Mvc\MvcEvent $e) : void
Inspects the MVC result; if it's a view model, it then either (a) adds it as a child to the default, composed view model, or (b) replaces it if the result is marked as terminable.
inherited_from | \Zend\Mvc\View\Http\InjectViewModelListener::injectViewModel() |
---|
$inflector : mixed
inherited_from | \Zend\Mvc\View\Http\InjectViewModelListener::$$inflector |
---|
$listeners : \Zend\Stdlib\CallbackHandler[]
inherited_from | \Zend\EventManager\AbstractListenerAggregate::$$listeners |
---|---|
inherited_from | \Zend\Mvc\View\Http\InjectViewModelListener::$$listeners |