View/Helper/Placeholder/Registry.php

Show: PublicProtectedPrivateinherited
Table of Contents
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 [email protected] 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

>VConstant  REGISTRY_KEY = 'Zend_View_Helper_Placeholder_Registry'
Zend_Registry key under which placeholder registry exists
Const
string  

Properties

>VPropertyprotectedstring $_containerClass = 'Zend_View_Helper_Placeholder_Container'
Default container class
Default value'Zend_View_Helper_Placeholder_Container'Details
Type
string
>VPropertyprotectedarray $_items = array()
Placeholder containers
Default valuearray()Details
Type
array

Methods

methodpubliccontainerExists(string $key) : bool

Does a particular container exist?

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
bool
methodpubliccreateContainer(string $key, array $value = array()) : \Zend_View_Helper_Placeholder_Container_Abstract

createContainer

Parameters
NameTypeDescription
$keystring
$valuearray
Returns
TypeDescription
\Zend_View_Helper_Placeholder_Container_Abstract
methodpublicdeleteContainer(string $key) : bool

Delete a container

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
bool
methodpublicgetContainer(string $key) : \Zend_View_Helper_Placeholder_Container_Abstract

Retrieve a placeholder container

Parameters
NameTypeDescription
$keystring
Returns
TypeDescription
\Zend_View_Helper_Placeholder_Container_Abstract
methodpublicgetContainerClass() : string

Retrieve the container class

Returns
TypeDescription
string
methodpublicgetRegistry() : void
static

Retrieve or create registry instnace

methodpublicsetContainer(string $key, \Zend_View_Placeholder_Container_Abstract $container) : \Zend_View_Placeholder_Registry

Set the container for an item in the registry

Parameters
NameTypeDescription
$keystring
$container\Zend_View_Placeholder_Container_Abstract
Returns
TypeDescription
\Zend_View_Placeholder_Registry
methodpublicsetContainerClass(string $name) : \Zend_View_Helper_Placeholder_Registry

Set the container class to use

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\Zend_View_Helper_Placeholder_Registry
Documentation was generated by phpDocumentor 2.2.0 .