View/Helper/Placeholder/Container/Standalone.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_Container_Standalone
Package: Zend_View\Helper
Returns
Base class for targetted placeholder helpers
- Implements
- Parent(s)
- \Zend_View_Helper_Abstract
- Children
- \Zend_View_Helper_HeadTitle
- \Zend_View_Helper_HeadScript
- \Zend_View_Helper_HeadMeta
- \Zend_View_Helper_HeadLink
- \Zend_View_Helper_HeadStyle
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
\book $_autoEscape = true
Flag wheter to automatically escape output, must also be
enforced in the child class if __toString/toString is overriden
Default value
true
Details- Type
- \book
Methods
__call(string $method, array $args) : mixed
Overload
Proxy to container methods
ParametersName | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |
__get(string $key) : mixed
Overloading: retrieve property
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
mixed |
__isset(string $key) : bool
Overloading: check if property is set
Parameters
Returns
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
bool |
__set(string $key, mixed $value) : void
Overloading: set property value
Parameters
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
_escape(string $string) : string
Escape a string
Parameters
Returns
Name | Type | Description |
---|---|---|
$string | string |
Type | Description |
---|---|
string |
getContainer() : \Zend_View_Helper_Placeholder_Container_Abstract
Retrieve placeholder container
Returns
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Abstract |
getRegistry() : \Zend_View_Helper_Placeholder_Registry
Retrieve registry
Returns
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Registry |
offsetExists(string | int $offset) : bool
ArrayAccess: offsetExists
Parameters
Returns
Name | Type | Description |
---|---|---|
$offset | string | int |
Type | Description |
---|---|
bool |
offsetGet(string | int $offset) : mixed
ArrayAccess: offsetGet
Parameters
Returns
Name | Type | Description |
---|---|---|
$offset | string | int |
Type | Description |
---|---|
mixed |
offsetSet(string | int $offset, mixed $value) : void
ArrayAccess: offsetSet
Parameters
Name | Type | Description |
---|---|---|
$offset | string | int | |
$value | mixed |
offsetUnset(string | int $offset) : void
ArrayAccess: offsetUnset
Parameters
Name | Type | Description |
---|---|---|
$offset | string | int |
setAutoEscape(bool $autoEscape = true) : \Zend_View_Helper_Placeholder_Container_Standalone
Set whether or not auto escaping should be used
Parameters
Returns
Name | Type | Description |
---|---|---|
$autoEscape | bool | whether or not to auto escape output |
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Standalone |
setContainer(\Zend_View_Helper_Placeholder_Container_Abstract $container) : \Zend_View_Helper_Placeholder_Container_Standalone
Set container on which to operate
Parameters
Returns
Name | Type | Description |
---|---|---|
$container | \Zend_View_Helper_Placeholder_Container_Abstract |
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Standalone |
setRegistry(\Zend_View_Helper_Placeholder_Registry $registry) : \Zend_View_Helper_Placeholder_Container_Standalone
Set registry object
Parameters
Returns
Name | Type | Description |
---|---|---|
$registry | \Zend_View_Helper_Placeholder_Registry |
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Standalone |