Class RenderToPlaceholder

Summary

Fully Qualified Name: Laminas\View\Helper\RenderToPlaceholder
Extends: AbstractHelper

Description

Renders a template and stores the rendered output as a placeholder variable for later use.

Methods

Name Description Defined By
__invoke() Renders a template and stores the rendered output as a placeholder variable for later use. RenderToPlaceholder
getView() Get the view object AbstractHelper
setView() Set the View object AbstractHelper

Method Details

__invoke()

Renders a template and stores the rendered output as a placeholder variable for later use.

Parameter Name Type Description
$script string|\ModelInterface The
$placeholder string The

Returns: void

getView()

Get the view object

Returns: null|\Renderer

setView()

Set the View object

Parameter Name Type Description
$view \Renderer

Returns: \AbstractHelper

Top