category Zend
package Zend_View
subpackage Strategy

 Methods

Constructor

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

Parameters

Attach the aggregate to the specified event manager

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

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

Parameters

$priority

int

Detach aggregate listeners from the specified event manager

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

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[]

 

$renderer

$renderer : \Zend\View\Renderer\PhpRenderer