Class HeadMeta

Summary

Fully Qualified Name: Zend\View\Helper\HeadMeta
Extends: AbstractStandalone

Description

Zend\View\Helper\HeadMeta

Methods

Name Description Defined By
__call() Overload method access HeadMeta
__construct() Constructor HeadMeta
__get() Overloading: retrieve property AbstractStandalone
__invoke() Retrieve object instance; optionally add meta tag HeadMeta
__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
append() Append HeadMeta
count() Countable AbstractStandalone
createData() Create data item for inserting into stack HeadMeta
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
getEscaper() Get Escaper instance AbstractStandalone
getIterator() IteratorAggregate: get Iterator AbstractStandalone
getView() Get the view object AbstractHelper
itemToString() Build meta HTML string HeadMeta
offsetExists() ArrayAccess: offsetExists AbstractStandalone
offsetGet() ArrayAccess: offsetGet AbstractStandalone
offsetSet() OffsetSet HeadMeta
offsetUnset() OffsetUnset HeadMeta
prepend() Prepend HeadMeta
set() Set HeadMeta
setAutoEscape() Set whether or not auto escaping should be used AbstractStandalone
setCharset() Create an HTML5-style meta charset tag. Something like HeadMeta
setContainer() Set container on which to operate AbstractStandalone
setContainerClass() Set the container class to use AbstractStandalone
setEscaper() Set Escaper instance AbstractStandalone
setView() Set the View object AbstractHelper
toString() Render placeholder as string HeadMeta

Method Details

__call()

Overload method access

Parameter Name Type Description
$method string
$args array

Returns: \HeadMeta

__construct()

Constructor

Set separator to PHP_EOL

Returns:

__get()

Overloading: retrieve property

Parameter Name Type Description
$key string

Returns: mixed

__invoke()

Retrieve object instance; optionally add meta tag

Parameter Name Type Description
$content string
$keyValue string
$keyType string
$modifiers array
$placement string

Returns: \HeadMeta

__isset()

Overloading: check if property is set

Parameter Name Type Description
$key string

Returns: bool

__set()

Overloading: set property value

Parameter Name Type Description
$key string
$value mixed

Returns: void

__toString()

Cast to string representation

Returns: string

__unset()

Overloading: unset property

Parameter Name Type Description
$key string

Returns: void

append()

Append

Parameter Name Type Description
$value \stdClass

Returns: \View\Helper\Placeholder\Container\AbstractContainer

count()

Countable

Returns: int

createData()

Create data item for inserting into stack

Parameter Name Type Description
$type string
$typeValue string
$content string
$modifiers array

Returns: \stdClass

deleteContainer()

Delete a container

Returns: bool

getAutoEscape()

Return whether autoEscaping is enabled or disabled

return bool

Returns:

getContainer()

Retrieve placeholder container

Returns: \AbstractContainer

getContainerClass()

Retrieve the container class

Returns: string

getEscaper()

Get Escaper instance

Lazy-loads one if none available

Parameter Name Type Description
$enc string|null Encoding

Returns: mixed

getIterator()

IteratorAggregate: get Iterator

Returns: \Iterator

getView()

Get the view object

Returns: null|\Renderer

itemToString()

Build meta HTML string

Parameter Name Type Description
$item \stdClass

Returns: string

offsetExists()

ArrayAccess: offsetExists

Parameter Name Type Description
$offset string|int

Returns: bool

offsetGet()

ArrayAccess: offsetGet

Parameter Name Type Description
$offset string|int

Returns: mixed

offsetSet()

OffsetSet

Parameter Name Type Description
$index string|int
$value string

Returns:

offsetUnset()

OffsetUnset

Parameter Name Type Description
$index string|int

Returns:

prepend()

Prepend

Parameter Name Type Description
$value \stdClass

Returns: \View\Helper\Placeholder\Container\AbstractContainer

set()

Set

Parameter Name Type Description
$value \stdClass

Returns: \View\Helper\Placeholder\Container\AbstractContainer

setAutoEscape()

Set whether or not auto escaping should be used

Parameter Name Type Description
$autoEscape bool whether

Returns: \AbstractStandalone

setCharset()

Create an HTML5-style meta charset tag. Something like

Not valid in a non-HTML5 doctype

Parameter Name Type Description
$charset string
$ \Exception\InvalidArgumentException

Returns: \HeadMeta Provides a fluent interface

setContainer()

Set container on which to operate

Parameter Name Type Description
$container \AbstractContainer

Returns: \AbstractStandalone

setContainerClass()

Set the container class to use

Parameter Name Type Description
$name string

Returns: \Zend\View\Helper\Placeholder\Container\AbstractStandalone

setEscaper()

Set Escaper instance

Parameter Name Type Description
$escaper \Escaper

Returns: \AbstractStandalone

setView()

Set the View object

Parameter Name Type Description
$view \Renderer

Returns: \AbstractHelper

toString()

Render placeholder as string

Parameter Name Type Description
$indent string|int

Returns: string

Top