View/Helper/Placeholder/Registry.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_View
- Subpackage
- Helper
- Version
- $Id$
\Zend_View_Helper_Placeholder_Registry
Package: Zend_View\Helper






Registry for placeholder containers
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
Properties

string $_containerClass = 'Zend_View_Helper_Placeholder_Container'Default container class
Default value
'Zend_View_Helper_Placeholder_Container'Details- Type
- string
Methods

containerExists(string $key) : boolDoes a particular container exist?
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| bool |

createContainer(string $key, array $value = array()) : \Zend_View_Helper_Placeholder_Container_AbstractcreateContainer
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | array |
| Type | Description |
|---|---|
| \Zend_View_Helper_Placeholder_Container_Abstract |

deleteContainer(string $key) : boolDelete a container
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| bool |

getContainer(string $key) : \Zend_View_Helper_Placeholder_Container_AbstractRetrieve a placeholder container
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string |
| Type | Description |
|---|---|
| \Zend_View_Helper_Placeholder_Container_Abstract |

setContainer(string $key, \Zend_View_Placeholder_Container_Abstract $container) : \Zend_View_Placeholder_RegistrySet the container for an item in the registry
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $key | string | |
| $container | \Zend_View_Placeholder_Container_Abstract |
| Type | Description |
|---|---|
| \Zend_View_Placeholder_Registry |

setContainerClass(string $name) : \Zend_View_Helper_Placeholder_RegistrySet the container class to use
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $name | string |
| Type | Description |
|---|---|
| \Zend_View_Helper_Placeholder_Registry |