Abstract aggregate listener

package Default
inherited_from \Zend\EventManager\AbstractListenerAggregate

 Methods

Constructor

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

Parameters

$renderer

\Zend\View\Renderer\PhpRenderer

{@inheritDoc}

attach(\Zend\EventManager\EventManagerInterface $events, $priority = 1

Parameters

$events

$priority

Detach all previously attached listeners

detach(\Zend\EventManager\EventManagerInterface $events) 
Inherited
inherited_from \Zend\EventManager\ListenerAggregateInterface::detach()

Parameters

$events

Get list of possible content placeholders

getContentPlaceholders() : array

Returns

array

Retrieve the composed renderer

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

Returns

\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

$e

\Zend\View\ViewEvent

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

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

Parameters

$e

\Zend\View\ViewEvent

Returns

\Zend\View\Renderer\PhpRenderer

Set list of possible content placeholders

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

Parameters

$contentPlaceholders

array

Returns

\Zend\View\Strategy\PhpRendererStrategy

 Properties

 

Placeholders that may hold content

$contentPlaceholders : array

Default

array('article', 'content')
 

$listeners

$listeners : array<mixed,\Zend\Stdlib\CallbackHandler>

Default

array()
 

$renderer

$renderer : \Zend\View\Renderer\PhpRenderer

Default