category Zend
package Zend_Mvc
subpackage View

 Methods

Set view

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

Attach the aggregate to the specified event manager

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

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

Parameters

Detach aggregate listeners from the specified event manager

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

Get layout template value

getLayoutTemplate() : string

Returns

string

Render the view

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

Set layout template value

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

Parameters

$layoutTemplate

string

Returns

 Properties

 

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

$layoutTemplate : string

 

$listeners

$listeners : \Zend\Stdlib\CallbackHandler[]

 

$view

$view : \Zend\View\View