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 [email protected] 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: Standalone.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_View_Helper_Placeholder_Container_Standalone
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-2012 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
true
Details- Type
- \book


\Zend_View_Interface $view = null
null
Details- Type
- \Zend_View_Interface
- Inherited_from
- \Zend_View_Helper_Abstract::$$view
Methods


__call(string $method, array $args) : mixed
Overload
Proxy to container methods
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |


__get(string $key) : mixed
Overloading: retrieve property
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
mixed |


__isset(string $key) : bool
Overloading: check if property is set
Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
bool |


__set(string $key, mixed $value) : void
Overloading: set property value
Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |


_escape(string $string) : string
Escape a string
Name | Type | Description |
---|---|---|
$string | string |
Type | Description |
---|---|
string |


direct() : void
Strategy pattern: currently unutilized
Inherited from: \Zend_View_Helper_Abstract::direct()

getContainer() : \Zend_View_Helper_Placeholder_Container_Abstract
Retrieve placeholder container
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Abstract |


getRegistry() : \Zend_View_Helper_Placeholder_Registry
Retrieve registry
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Registry |


offsetExists(string | int $offset) : bool
ArrayAccess: offsetExists
Name | Type | Description |
---|---|---|
$offset | string | int |
Type | Description |
---|---|
bool |


offsetGet(string | int $offset) : mixed
ArrayAccess: offsetGet
Name | Type | Description |
---|---|---|
$offset | string | int |
Type | Description |
---|---|
mixed |


offsetSet(string | int $offset, mixed $value) : void
ArrayAccess: offsetSet
Name | Type | Description |
---|---|---|
$offset | string | int | |
$value | mixed |


offsetUnset(string | int $offset) : void
ArrayAccess: offsetUnset
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
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
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
Name | Type | Description |
---|---|---|
$registry | \Zend_View_Helper_Placeholder_Registry |
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Standalone |


setView(\Zend_View_Interface $view) : \Zend_View_Helper_Abstract
Name | Type | Description |
---|---|---|
$view | \Zend_View_Interface |
Type | Description |
---|---|
\Zend_View_Helper_Abstract |