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.
Base class for targetted placeholder helpers

\book
$_autoEscape= 'true'
Flag wheter to automatically escape output, must also be enforced in the child class if __toString/toString is overriden
true
Details
__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 |

__unset(
string $key
)
:
void
Overloading: unset property
Name | Type | Description |
---|---|---|
$key | string |

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

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 |