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 |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_View_Helper_Abstract |
Methods
Constructor
__construct() : void
Retrieve container registry from Zend_Registry, or create new one and register it.
Strategy pattern: currently unutilized
direct() : void
Inherited
inherited_from |
\Zend_View_Helper_Interface::direct() |
Retrieve the registry
getRegistry() : \Zend_View_Helper_Placeholder_Registry
Returns
\Zend_View_Helper_Placeholder_Registry
Placeholder helper
placeholder(string $name) : \Zend_View_Helper_Placeholder_Container_Abstract
Parameters
$name
string
Returns
\Zend_View_Helper_Placeholder_Container_Abstract
Set the View object
setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Inherited
inherited_from |
\Zend_View_Helper_Interface::setView() |
Parameters
$view
\Zend_View_Interface
Returns
\Zend_View_Helper_Abstract
Properties
View object
$view : \Zend_View_Interface
Placeholder items
$_items : array
$_registry
$_registry : \Zend_View_Helper_Placeholder_Registry