Abstract aggregate listener

package Default
inherited_from \Zend\EventManager\AbstractListenerAggregate

 Methods

Set view

__construct(\Zend\View\View $view) : \Zend\Mvc\View\Http\DefaultRenderingStrategy

Parameters

$view

\Zend\View\View

Returns

\Zend\Mvc\View\Http\DefaultRenderingStrategy

{@inheritDoc}

attach(\Zend\EventManager\EventManagerInterface $events) 

Parameters

$events

Detach all previously attached listeners

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

Parameters

$events

Get layout template value

getLayoutTemplate() : string

Returns

string

Render the view

render(\Zend\Mvc\MvcEvent $e) : \Zend\Stdlib\ResponseInterface | null

Parameters

$e

\Zend\Mvc\MvcEvent

Exceptions

\Exception

Returns

\Zend\Stdlib\ResponseInterfacenull

Set layout template value

setLayoutTemplate(string $layoutTemplate) : \Zend\Mvc\View\Http\DefaultRenderingStrategy

Parameters

$layoutTemplate

string

Returns

\Zend\Mvc\View\Http\DefaultRenderingStrategy

 Properties

 

Layout template - template used in root ViewModel of MVC event.

$layoutTemplate : string

Default

'layout'
 

$listeners

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

Default

array()
 

$view

$view : \Zend\View\View

Default