Class PhpRendererStrategy

Summary

Fully Qualified Name: Laminas\View\Strategy\PhpRendererStrategy
Extends: AbstractListenerAggregate

Description

Methods

Name Description Defined By
__construct() Constructor PhpRendererStrategy
attach() {@inheritDoc} PhpRendererStrategy
detach() {@inheritDoc} AbstractListenerAggregate
getContentPlaceholders() Get list of possible content placeholders PhpRendererStrategy
getRenderer() Retrieve the composed renderer PhpRendererStrategy
injectResponse() Populate the response object from the View PhpRendererStrategy
selectRenderer() Select the PhpRenderer; typically, this will be registered last or at low priority. PhpRendererStrategy
setContentPlaceholders() Set list of possible content placeholders PhpRendererStrategy

Method Details

__construct()

Constructor

Parameter Name Type Description
$renderer \PhpRenderer

Returns:

attach()

{@inheritDoc}

Parameter Name Type Description
$events
$priority

Returns:

detach()

{@inheritDoc}

Parameter Name Type Description
$events

Returns:

getContentPlaceholders()

Get list of possible content placeholders

Returns: array

getRenderer()

Retrieve the composed renderer

Returns: \PhpRenderer

injectResponse()

Populate the response object from the View

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

Parameter Name Type Description
$e \ViewEvent

Returns: void

selectRenderer()

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

Parameter Name Type Description
$e \ViewEvent

Returns: \PhpRenderer

setContentPlaceholders()

Set list of possible content placeholders

Parameter Name Type Description
$contentPlaceholders array

Returns: \PhpRendererStrategy

Top