Helper for passing data between otherwise segregated Views.

It's called Placeholder to make its typical usage obvious, but can be used just as easily for non-Placeholder things. That said, the support for this is only guaranteed to effect subsequently rendered templates, and of course Layouts.

 Methods

Does a particular container exist?

containerExists(string $key) : bool

Parameters

$key

string

Returns

bool

createContainer

createContainer(string $key, array $value) : \Zend\View\Helper\Placeholder\Container\AbstractContainer

Parameters

$key

string

$value

array

Returns

Retrieve a placeholder container

getContainer(string $key) : \Zend\View\Helper\Placeholder\Container\AbstractContainer

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

 

Default container class

$containerClass : string

 

Placeholder items

$items : array

 

View object instance

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

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