API Documentation

View/Helper/HeadTitle.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
version
$Id: HeadTitle.php 22089 2010-05-04 11:49:03Z padraic $
Classes
Zend_View_Helper_HeadTitle

Description

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.

Zend_View_Helper_HeadTitle

Extends from
Zend_View_Helper_Placeholder_Container_Standalone
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_View
subpackage
Helper
uses
Zend_View_Helper_Placeholder_Container_Standalone
Properties
$_regKey
$_translate
$_translator
$_defaultAttachOrder
Methods
headTitle
setDefaultAttachOrder
getDefaultAttachOrder
setTranslator
getTranslator
enableTranslation
disableTranslation
toString

Description

Helper for setting and retrieving title element for HTML head

Properties

$_defaultAttachOrder

string $_defaultAttachOrder = 'null'

Default title rendering order (i.e. order in which each title attached)

Details

$_defaultAttachOrder
string
visibility
protected
default
null
final
false
static
false

$_regKey

string $_regKey = 'Zend_View_Helper_HeadTitle'

Registry key for placeholder

Details

$_regKey
string
visibility
protected
default
Zend_View_Helper_HeadTitle
final
false
static
false

$_translate

boolean $_translate = 'false'

Whether or not auto-translation is enabled

Details

$_translate
boolean
visibility
protected
default
false
final
false
static
false

$_translator

Zend_Translate_Adapter $_translator = ''

Translation object

Details

$_translator
Zend_Translate_Adapter
visibility
protected
default
final
false
static
false

Methods

disableTranslation

disableTranslation( ) : Zend_View_Helper_HeadTitle

Disables translation

Details
visibility
public
final
false
static
false

enableTranslation

enableTranslation( ) : Zend_View_Helper_HeadTitle

Enables translation

Details
visibility
public
final
false
static
false

getDefaultAttachOrder

getDefaultAttachOrder( ) : mixed

Get the default attach order, if any.

Output
mixed
Details
visibility
public
final
false
static
false

getTranslator

getTranslator( ) :
Details
visibility
public
final
false
static
false

headTitle

headTitle( string $title = null, string $setType = null ) : Zend_View_Helper_HeadTitle

Retrieve placeholder for title element and optionally set state

Arguments
$title
string
$setType
string
Details
visibility
public
final
false
static
false

setDefaultAttachOrder

setDefaultAttachOrder( string $setType ) :

Set a default order to add titles

Arguments
$setType
string
Details
visibility
public
final
false
static
false

setTranslator

setTranslator( Zend_Translate|Zend_Translate_Adapter $translate ) : Zend_View_Helper_HeadTitle

Sets a translation Adapter for translation

Arguments
$translate
Zend_TranslateZend_Translate_Adapter
Details
visibility
public
final
false
static
false

toString

toString( string|null $indent = null, string|null $locale = null ) : string

Turn helper into string

Arguments
$indent
stringnull
$locale
stringnull
Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.