Fully Qualified Name: | Zend\View\Helper\HeadTitle |
Extends: | AbstractStandalone |
Helper for setting and retrieving title element for HTML head.
Duck-types against Zend\I18n\Translator\TranslatorAwareInterface.
Name | Description | Defined By |
---|---|---|
__call() | Overload | AbstractStandalone |
__construct() | Constructor | AbstractStandalone |
__get() | Overloading: retrieve property | AbstractStandalone |
__invoke() | Retrieve placeholder for title element and optionally set state | HeadTitle |
__isset() | Overloading: check if property is set | AbstractStandalone |
__set() | Overloading: set property value | AbstractStandalone |
__toString() | Cast to string representation | AbstractStandalone |
__unset() | Overloading: unset property | AbstractStandalone |
count() | Countable | AbstractStandalone |
deleteContainer() | Delete a container | AbstractStandalone |
getAutoEscape() | Return whether autoEscaping is enabled or disabled | AbstractStandalone |
getContainer() | Retrieve placeholder container | AbstractStandalone |
getContainerClass() | Retrieve the container class | AbstractStandalone |
getDefaultAttachOrder() | Get the default attach order, if any. | HeadTitle |
getEscaper() | Get Escaper instance | AbstractStandalone |
getIterator() | IteratorAggregate: get Iterator | AbstractStandalone |
getView() | Get the view object | AbstractHelper |
offsetExists() | ArrayAccess: offsetExists | AbstractStandalone |
offsetGet() | ArrayAccess: offsetGet | AbstractStandalone |
offsetSet() | ArrayAccess: offsetSet | AbstractStandalone |
offsetUnset() | ArrayAccess: offsetUnset | AbstractStandalone |
renderTitle() | Render title string | HeadTitle |
setAutoEscape() | Set whether or not auto escaping should be used | AbstractStandalone |
setContainer() | Set container on which to operate | AbstractStandalone |
setContainerClass() | Set the container class to use | AbstractStandalone |
setDefaultAttachOrder() | Set a default order to add titles | HeadTitle |
setEscaper() | Set Escaper instance | AbstractStandalone |
setView() | Set the View object | AbstractHelper |
toString() | Render title (wrapped by title tag) | HeadTitle |
Overload
Proxy to container methods
Parameter Name | Type | Description |
---|---|---|
$method | string | |
$args | array |
Returns: mixed
Constructor
Returns:
Overloading: retrieve property
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: mixed
Retrieve placeholder for title element and optionally set state
Parameter Name | Type | Description |
---|---|---|
$title | string | |
$setType | string |
Returns: \HeadTitle
Overloading: check if property is set
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: bool
Overloading: set property value
Parameter Name | Type | Description |
---|---|---|
$key | string | |
$value | mixed |
Returns: void
Cast to string representation
Returns: string
Overloading: unset property
Parameter Name | Type | Description |
---|---|---|
$key | string |
Returns: void
Countable
Returns: int
Delete a container
Returns: bool
Return whether autoEscaping is enabled or disabled
return bool
Returns:
Retrieve placeholder container
Returns: \AbstractContainer
Retrieve the container class
Returns: string
Get the default attach order, if any.
Returns: mixed
Get Escaper instance
Lazy-loads one if none available
Parameter Name | Type | Description |
---|---|---|
$enc | string|null | Encoding |
Returns: mixed
IteratorAggregate: get Iterator
Returns: \Iterator
Get the view object
Returns: null|\Renderer
ArrayAccess: offsetExists
Parameter Name | Type | Description |
---|---|---|
$offset | string|int |
Returns: bool
ArrayAccess: offsetGet
Parameter Name | Type | Description |
---|---|---|
$offset | string|int |
Returns: mixed
ArrayAccess: offsetSet
Parameter Name | Type | Description |
---|---|---|
$offset | string|int | |
$value | mixed |
Returns: void
ArrayAccess: offsetUnset
Parameter Name | Type | Description |
---|---|---|
$offset | string|int |
Returns: void
Render title string
Returns: string
Set whether or not auto escaping should be used
Parameter Name | Type | Description |
---|---|---|
$autoEscape | bool | whether |
Returns: \AbstractStandalone
Set container on which to operate
Parameter Name | Type | Description |
---|---|---|
$container | \AbstractContainer |
Returns: \AbstractStandalone
Set the container class to use
Parameter Name | Type | Description |
---|---|---|
$name | string |
Returns: \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Set a default order to add titles
Parameter Name | Type | Description |
---|---|---|
$setType | string |
Returns: \HeadTitle
Set Escaper instance
Parameter Name | Type | Description |
---|---|---|
$escaper | \Escaper |
Returns: \AbstractStandalone
Set the View object
Parameter Name | Type | Description |
---|---|---|
$view | \Renderer |
Returns: \AbstractHelper
Render title (wrapped by title tag)
Parameter Name | Type | Description |
---|---|---|
$indent | string|null |
Returns: string