Abstract aggregate listener

 Methods

Constructor

__construct(\Zend\View\Renderer\PhpRenderer $renderer) 

Parameters

Attach one or more listeners

attach(\Zend\EventManager\EventManagerInterface $events, $priority) : void

Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.

Parameters

$priority

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) : void
Inherited

inherited_from \Zend\EventManager\AbstractListenerAggregate::detach()

Parameters

Get list of possible content placeholders

getContentPlaceholders() : array

Returns

array

Retrieve the composed renderer

getRenderer() : \Zend\View\Renderer\PhpRenderer

Populate the response object from the View

injectResponse(\Zend\View\ViewEvent $e) : void

Populates the content of the response object from the view rendering results.

Parameters

Select the PhpRenderer; typically, this will be registered last or at low priority.

selectRenderer(\Zend\View\ViewEvent $e) : \Zend\View\Renderer\PhpRenderer

Set list of possible content placeholders

setContentPlaceholders(array $contentPlaceholders) : \Zend\View\Strategy\PhpRendererStrategy

Parameters

$contentPlaceholders

array

Returns

 Properties

 

Placeholders that may hold content

$contentPlaceholders : array

 

$listeners

$listeners : \Zend\Stdlib\CallbackHandler[]
Inherited

inherited_from \Zend\EventManager\AbstractListenerAggregate::$$listeners
 

$renderer

$renderer : \Zend\View\Renderer\PhpRenderer