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

 Methods

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

__invoke(string | \Zend\View\Model\ModelInterface $script, string $placeholder) : void

Parameters

$script

string\Zend\View\Model\ModelInterface

The template script to render

$placeholder

string

The placeholder variable name in which to store the rendered output

Get the view object

getView() : null | \Zend\View\Renderer\RendererInterface
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::getView()

Returns

Set the View object

setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::setView()

Parameters

Returns

 Properties

 

View object

$view : \Zend\View\Renderer\RendererInterface
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::$$view