Zend\View\Helper\HeadMeta

see Allows the following 'virtual' methods:
package Default
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone

 Methods

Overload method access

__call(string $method, array $args) : \Zend\View\Helper\HeadMeta

Proxy to container methods

inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::__call()

Parameters

$method

string

$args

array

Exceptions

\Zend\View\Exception\BadMethodCallException

Returns

\Zend\View\Helper\HeadMeta

Overload

__call(string $method, array $args) : mixed
Inherited

Proxy to container methods

Parameters

$method

string

$args

array

Exceptions

\Zend\View\Exception\BadMethodCallException

Returns

mixed

Constructor

__construct() 

Set separator to PHP_EOL

inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::__construct()

Constructor

__construct() 
Inherited

Overloading: retrieve property

__get(string $key) : mixed
Inherited

Parameters

$key

string

Returns

mixed

Retrieve object instance; optionally add meta tag

__invoke(string $content = null, string $keyValue = null, string $keyType = 'name', array $modifiers = array(), string $placement = \Zend\View\Helper\Placeholder\Container\AbstractContainer::APPEND) : \Zend\View\Helper\HeadMeta

Parameters

$content

string

$keyValue

string

$keyType

string

$modifiers

array

$placement

string

Returns

\Zend\View\Helper\HeadMeta

Overloading: check if property is set

__isset(string $key) : boolean
Inherited

Parameters

$key

string

Returns

boolean

Overloading: set property value

__set(string $key, mixed $value) : void
Inherited

Parameters

$key

string

$value

mixed

Cast to string representation

__toString() : string
Inherited

Returns

string

Overloading: unset property

__unset(string $key) : void
Inherited

Parameters

$key

string

Append

append(string $value) : void

Parameters

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

)

appendHttpEquiv() : 
magic
method )

Returns

)

appendName() : 
magic
method )

Returns

)

appendProperty() : 
magic
method )

Returns

Countable

count() : integer
Inherited

Returns

integer

Create data item for inserting into stack

createData(string $type, string $typeValue, string $content, array $modifiers) : \stdClass

Parameters

$type

string

$typeValue

string

$content

string

$modifiers

array

Returns

\stdClass

Delete a container

deleteContainer() : boolean
Inherited

Returns

boolean

Return whether autoEscaping is enabled or disabled

getAutoEscape() 
Inherited

return bool

Retrieve placeholder container

getContainer() : \Zend\View\Helper\Placeholder\Container\AbstractContainer
Inherited

Returns

\Zend\View\Helper\Placeholder\Container\AbstractContainer

Retrieve the container class

getContainerClass() : string
Inherited

Returns

string

Get Escaper instance

getEscaper(string|null $enc = 'UTF-8') : mixed
Inherited

Lazy-loads one if none available

Parameters

$enc

stringnull

Encoding to use

Returns

mixed

IteratorAggregate: get Iterator

getIterator() : \Iterator
Inherited

Returns

\Iterator

Get the view object

getView() : null | \Zend\View\Renderer\RendererInterface
Inherited
inherited_from \Zend\View\Helper\HelperInterface::getView()

Returns

null\Zend\View\Renderer\RendererInterface

Build meta HTML string

itemToString(\stdClass $item) : string

Parameters

$item

\stdClass

Exceptions

\Zend\View\Exception\InvalidArgumentException

Returns

string

ArrayAccess: offsetExists

offsetExists(string|integer $offset) : boolean
Inherited

Parameters

$offset

stringinteger

Returns

boolean

ArrayAccess: offsetGet

offsetGet(string|integer $offset) : mixed
Inherited

Parameters

$offset

stringinteger

Returns

mixed

)

offsetGetHttpEquiv() : 
magic
method )

Returns

)

offsetGetName() : 
magic
method )

Returns

)

offsetGetProperty() : 
magic
method )

Returns

OffsetSet

offsetSet(string|integer $index, string $value) : void
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::offsetSet()

Parameters

$index

stringinteger

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

ArrayAccess: offsetSet

offsetSet(string|integer $offset, mixed $value) : void
Inherited

Parameters

$offset

stringinteger

$value

mixed

OffsetUnset

offsetUnset(string|integer $index) : void
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::offsetUnset()

Parameters

$index

stringinteger

Exceptions

\Zend\View\Exception\InvalidArgumentException

ArrayAccess: offsetUnset

offsetUnset(string|integer $offset) : void
Inherited

Parameters

$offset

stringinteger

Prepend

prepend(string $value) : void

Parameters

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

)

prependHttpEquiv() : 
magic
method )

Returns

)

prependName() : 
magic
method )

Returns

)

prependProperty() : 
magic
method )

Returns

Set

set(string $value) : void

Parameters

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

Set whether or not auto escaping should be used

setAutoEscape(boolean $autoEscape = true) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Inherited

Parameters

$autoEscape

boolean

whether or not to auto escape output

Returns

\Zend\View\Helper\Placeholder\Container\AbstractStandalone

Create an HTML5-style meta charset tag. Something like <meta charset="utf-8">

setCharset(string $charset) : \Zend\View\Helper\HeadMeta

Not valid in a non-HTML5 doctype

Parameters

$charset

string

Returns

\Zend\View\Helper\HeadMetaProvides a fluent interface

Set container on which to operate

setContainer(\Zend\View\Helper\Placeholder\Container\AbstractContainer $container) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Inherited

Parameters

$container

\Zend\View\Helper\Placeholder\Container\AbstractContainer

Returns

\Zend\View\Helper\Placeholder\Container\AbstractStandalone

Set the container class to use

setContainerClass(string $name) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Inherited

Parameters

$name

string

Exceptions

\Zend\View\Exception\InvalidArgumentException
\Zend\View\Exception\DomainException

Returns

\Zend\View\Helper\Placeholder\Container\AbstractStandalone

Set Escaper instance

setEscaper(\Zend\Escaper\Escaper $escaper) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Inherited

Parameters

$escaper

\Zend\Escaper\Escaper

Returns

\Zend\View\Helper\Placeholder\Container\AbstractStandalone

)

setHttpEquiv() : 
magic
method )

Returns

)

setName() : 
magic
method )

Returns

)

setProperty() : 
magic
method )

Returns

Set the View object

setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
Inherited
inherited_from \Zend\View\Helper\HelperInterface::setView()

Parameters

$view

\Zend\View\Renderer\RendererInterface

Returns

\Zend\View\Helper\AbstractHelper

Render placeholder as string

toString(string|integer $indent = null) : string
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::toString()

Parameters

$indent

stringinteger

Returns

string

String representation

toString() : string
Inherited

Returns

string

Escape a string

escape(string $string) : string
Inherited

Parameters

$string

string

Returns

string

Determine if item is valid

isValid(mixed $item) : boolean

Parameters

$item

mixed

Returns

boolean

Normalize type attribute of meta

normalizeType(string $type) : string

Parameters

$type

string

type in CamelCase

Exceptions

\Zend\View\Exception\DomainException

Returns

string

 Properties

 

Flag whether to automatically escape output, must also be enforced in the child class if __toString/toString is overridden

$autoEscape : boolean

Default

true
 

$container

$container : \Zend\View\Helper\Placeholder\Container\AbstractContainer

Default

 

Default container class

$containerClass : string

Default

'Zend\View\Helper\Placeholder\Container'
 

$escapers

$escapers : array<mixed,\Zend\Escaper\Escaper>

Default

array()
 

Allowed modifier keys

$modifierKeys : array

Default

array('lang', 'scheme')
 

Registry key for placeholder

$regKey : string

Default

'Zend_View_Helper_HeadMeta'
 

Required attributes for meta tag

$requiredKeys : array

Default

array('content')
 

Allowed key types

$typeKeys : array

Default

array('name', 'http-equiv', 'charset', 'property', 'itemprop')
 

View object instance

$view : \Zend\View\Renderer\RendererInterface

Default

null