Zend Framework
3.0
|
Helper for passing data between otherwise segregated Views. More...
Public Member Functions | |
__invoke ($name=null) | |
Placeholder helper. | |
createContainer ($key, array $value=[]) | |
createContainer | |
getContainer ($key) | |
Retrieve a placeholder container. | |
containerExists ($key) | |
Does a particular container exist? | |
Public Member Functions inherited from AbstractHelper | |
setView (Renderer $view) | |
Set the View object. | |
getView () | |
Get the view object. | |
Protected Attributes | |
$items = [] | |
$containerClass = 'Zend\View\Helper\Placeholder\Container' | |
Protected Attributes inherited from AbstractHelper | |
$view = null | |
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.
__invoke | ( | $name = null | ) |
containerExists | ( | $key | ) |
Does a particular container exist?
string | $key |
createContainer | ( | $key, | |
array | $value = [] |
||
) |
getContainer | ( | $key | ) |
|
protected |
|
protected |