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
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 |

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

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_Adapter|null |

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 |

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

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 |