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.
Helper for setting and retrieving title element for HTML head

string
$_defaultAttachOrder= 'null'
Default title rendering order (i.e. order in which each title attached)
null
Details
string
$_regKey= 'Zend_View_Helper_HeadTitle'
Registry key for placeholder
Zend_View_Helper_HeadTitle
Details
boolean
$_translate= 'false'
Whether or not auto-translation is enabled
false
Details
__call(
string $method, array $args
)
:
mixed
Overload
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__call()Proxy to container methods
Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Type | Description |
---|---|
mixed |

__construct(
)
:
void
Constructor
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__construct()
__get(
string $key
)
:
mixed
Overloading: retrieve property
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__get()Name | Type | Description |
---|---|---|
$key | string |
Type | Description |
---|---|
mixed |

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

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

__toString(
)
:
string
Cast to string representation
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::__toString()Type | Description |
---|---|
string |

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

_escape(
string $string
)
:
string
Escape a string
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::_escape()Name | Type | Description |
---|---|---|
$string | string |
Type | Description |
---|---|
string |

count(
)
:
int
Countable
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::count()Type | Description |
---|---|
int |

direct(
)
:
void
Strategy pattern: currently unutilized
Inherited from: \Zend_View_Helper_Abstract::direct()
disableTranslation(
)
:
\Zend_View_Helper_HeadTitle
Disables translation
Type | Description |
---|---|
\Zend_View_Helper_HeadTitle |

enableTranslation(
)
:
\Zend_View_Helper_HeadTitle
Enables translation
Type | Description |
---|---|
\Zend_View_Helper_HeadTitle |

getAutoEscape(
)
:
void
Return whether autoEscaping is enabled or disabled
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::getAutoEscape()return bool

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

getDefaultAttachOrder(
)
:
mixed
Get the default attach order, if any.
Type | Description |
---|---|
mixed |

getIterator(
)
:
\Iterator
IteratorAggregate: get Iterator
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::getIterator()Type | Description |
---|---|
\Iterator |

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

getTranslator(
)
:
\Zend_Translate_Adapter|null
Retrieve translation object
If none is currently registered, attempts to pull it from the registry using the key 'Zend_Translate'.
Type | Description |
---|---|
\Zend_Translate_Adapternull |

headTitle(
string $title
=
null, string $setType
=
null
)
:
\Zend_View_Helper_HeadTitle
Retrieve placeholder for title element and optionally set state
Name | Type | Description |
---|---|---|
$title | string | |
$setType | string |
Type | Description |
---|---|
\Zend_View_Helper_HeadTitle |

offsetExists(
string|int $offset
)
:
bool
ArrayAccess: offsetExists
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::offsetExists()Name | Type | Description |
---|---|---|
$offset | string|int |
Type | Description |
---|---|
bool |

offsetGet(
string|int $offset
)
:
mixed
ArrayAccess: offsetGet
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::offsetGet()Name | Type | Description |
---|---|---|
$offset | string|int |
Type | Description |
---|---|
mixed |

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

offsetUnset(
string|int $offset
)
:
void
ArrayAccess: offsetUnset
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::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
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::setAutoEscape()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
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::setContainer()Name | Type | Description |
---|---|---|
$container | \Zend_View_Helper_Placeholder_Container_Abstract |
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Standalone |

setDefaultAttachOrder(
string $setType
)
:
void
Set a default order to add titles
Name | Type | Description |
---|---|---|
$setType | string |

setRegistry(
\Zend_View_Helper_Placeholder_Registry $registry
)
:
\Zend_View_Helper_Placeholder_Container_Standalone
Set registry object
Inherited from: \Zend_View_Helper_Placeholder_Container_Standalone::setRegistry()Name | Type | Description |
---|---|---|
$registry | \Zend_View_Helper_Placeholder_Registry |
Type | Description |
---|---|
\Zend_View_Helper_Placeholder_Container_Standalone |

setTranslator(
\Zend_Translate|\Zend_Translate_Adapter $translate
)
:
\Zend_View_Helper_HeadTitle
Sets a translation Adapter for translation
Name | Type | Description |
---|---|---|
$translate | \Zend_Translate|\Zend_Translate_Adapter |
Type | Description |
---|---|
\Zend_View_Helper_HeadTitle |

setView(
\Zend_View_Interface $view
)
:
\Zend_View_Helper_Abstract
Set the View object
Inherited from: \Zend_View_Helper_Abstract::setView()Name | Type | Description |
---|---|---|
$view | \Zend_View_Interface |
Type | Description |
---|---|
\Zend_View_Helper_Abstract |