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.

package Zend_View
subpackage Helper

 Methods

Constructor

__construct() 

Retrieve container registry from Placeholder\Registry, or create new one and register it.

Retrieve the registry

getRegistry() : \Zend\View\Helper\Placeholder\Registry

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

 

Placeholder items

$items : array

 

$registry

$registry : \Zend\View\Helper\Placeholder\Registry

 

View object

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

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