API Documentation

Zend/View/Helper/Placeholder/Registry.php

Show: inherited
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 license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_View  
Subpackage
Helper  
Version
$Id: Registry.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_View_Helper_Placeholder_Registry

Package: Zend\View\Helper

Registry for placeholder containers

Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

Constant  REGISTRY_KEY = 'Zend_View_Helper_Placeholder_Registry'

Zend_Registry key under which placeholder registry exists

Const
string  

Properties

Propertyprotectedstring  $_containerClass= ''Zend_View_Helper_Placeholder_Container''

Default container class

Default value'Zend_View_Helper_Placeholder_Container'Details
Type
string
Propertyprotectedarray  $_items= 'array()'

Placeholder containers

Default valuearray()Details
Type
array

Methods

methodpubliccontainerExists( string $key ) : bool

Does a particular container exist?

Parameters
Name Type Description
$key string
Returns
Type Description
bool
methodpubliccreateContainer( string $key, array $value = array() ) : \Zend_View_Helper_Placeholder_Container_Abstract

createContainer

Parameters
Name Type Description
$key string
$value array
Returns
Type Description
\Zend_View_Helper_Placeholder_Container_Abstract
methodpublicdeleteContainer( string $key ) : bool

Delete a container

Parameters
Name Type Description
$key string
Returns
Type Description
bool
methodpublicgetContainer( string $key ) : \Zend_View_Helper_Placeholder_Container_Abstract

Retrieve a placeholder container

Parameters
Name Type Description
$key string
Returns
Type Description
\Zend_View_Helper_Placeholder_Container_Abstract
methodpublicgetContainerClass( ) : string

Retrieve the container class

Returns
Type Description
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
Name Type Description
$key string
$container \Zend_View_Placeholder_Container_Abstract
Returns
Type Description
\Zend_View_Placeholder_Registry
methodpublicsetContainerClass( string $name ) : \Zend_View_Helper_Placeholder_Registry

Set the container class to use

Parameters
Name Type Description
$name string
Returns
Type Description
\Zend_View_Helper_Placeholder_Registry
Documentation was generated by DocBlox 0.15.1.