Zend\View\Helper\HeadMeta

see \Zend\View\Helper\http://www.w3.org/TR/xhtml1/dtds.html

 Methods

Overload method access

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

Proxy to container methods

Parameters

$method

string

$args

array

Exceptions

\Zend\View\Exception\BadMethodCallException

Returns

Constructor

__construct() 

Set separator to PHP_EOL

Overloading: retrieve property

__get(string $key) : mixed
Inherited

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

Parameters

$key

string

Returns

mixed

Retrieve object instance; optionally add meta tag

__invoke(string $content, string $keyValue, string $keyType, array $modifiers, string $placement) : \Zend\View\Helper\HeadMeta

Parameters

$content

string

$keyValue

string

$keyType

string

$modifiers

array

$placement

string

Returns

Overloading: check if property is set

__isset(string $key) : bool
Inherited

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

Parameters

$key

string

Returns

bool

Overloading: set property value

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

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

Parameters

$key

string

$value

mixed

Cast to string representation

__toString() : string
Inherited

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

Returns

string

Overloading: unset property

__unset(string $key) : void
Inherited

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

Parameters

$key

string

Append

append(string $value) : void

Parameters

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

)

appendHttpEquiv( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

)

appendName( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

)

appendProperty( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

Countable

count() : int
Inherited

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

Returns

int

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

Delete a container

deleteContainer() : bool
Inherited

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

Returns

bool

Return whether autoEscaping is enabled or disabled

getAutoEscape() 
Inherited

return bool

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

Retrieve placeholder container

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

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

Returns

Retrieve the container class

getContainerClass() : string
Inherited

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

Returns

string

Get Escaper instance

getEscaper(string | null $enc) : mixed
Inherited

Lazy-loads one if none available

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

Parameters

$enc

stringnull

Encoding to use

Returns

mixed

IteratorAggregate: get Iterator

getIterator() : \Zend\View\Helper\Placeholder\Container\Iterator
Inherited

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

Returns

\Zend\View\Helper\Placeholder\Container\Iterator

Get the view object

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

inherited_from \Zend\View\Helper\AbstractHelper::getView()
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::getView()

Returns

Build meta HTML string

itemToString(\stdClass $item) : string

Parameters

$item

\stdClass

Exceptions

\Zend\View\Exception\InvalidArgumentException

Returns

string

ArrayAccess: offsetExists

offsetExists(string | int $offset) : bool
Inherited

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

Parameters

$offset

stringint

Returns

bool

ArrayAccess: offsetGet

offsetGet(string | int $offset) : mixed
Inherited

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

Parameters

$offset

stringint

Returns

mixed

)

offsetGetHttpEquiv( $index,  $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$index

$keyValue

$content

=

$modifiers

Returns

)

offsetGetName( $index,  $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$index

$keyValue

$content

=

$modifiers

Returns

)

offsetGetProperty( $index,  $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$index

$keyValue

$content

=

$modifiers

Returns

OffsetSet

offsetSet(string | int $index, string $value) : void

Parameters

$index

stringint

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

OffsetUnset

offsetUnset(string | int $index) : void

Parameters

$index

stringint

Exceptions

\Zend\View\Exception\InvalidArgumentException

Prepend

prepend(string $value) : void

Parameters

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

)

prependHttpEquiv( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

)

prependName( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

)

prependProperty( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

Set

set(string $value) : void

Parameters

$value

string

Exceptions

\Zend\View\Exception\InvalidArgumentException

Set whether or not auto escaping should be used

setAutoEscape(bool $autoEscape) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Inherited

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

Parameters

$autoEscape

bool

whether or not to auto escape output

Returns

Create an HTML5-style meta charset tag.

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

Something like

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

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

Parameters

Returns

Set the container class to use

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

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

Parameters

$name

string

Exceptions

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

Returns

Set Escaper instance

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

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

Parameters

Returns

)

setHttpEquiv( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

)

setName( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

)

setProperty( $keyValue,  $content, $modifiers =) : \Zend\View\Helper\HeadMeta

magic
method )

Parameters

$keyValue

$content

=

$modifiers

Returns

Set the View object

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

inherited_from \Zend\View\Helper\AbstractHelper::setView()
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::setView()

Parameters

Returns

Render placeholder as string

toString(string | int $indent) : string

Parameters

$indent

stringint

Returns

string

Escape a string

escape(string $string) : string
Inherited

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

Parameters

$string

string

Returns

string

Determine if item is valid

isValid(mixed $item) : bool

Parameters

$item

mixed

Returns

bool

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 : bool
Inherited

inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::$$autoEscape
 

$container

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

inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::$$container
 

Default container class

$containerClass : string
Inherited

inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::$$containerClass
 

$escapers

$escapers : \Zend\Escaper\Escaper[]
Inherited

inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::$$escapers
 

Allowed modifier keys

$modifierKeys : array

 

Registry key for placeholder

$regKey : string

 

Required attributes for meta tag

$requiredKeys : array

 

Allowed key types

$typeKeys : array

 

View object instance

$view : \Zend\View\Renderer\RendererInterface
Inherited

inherited_from \Zend\View\Helper\AbstractHelper::$$view
inherited_from \Zend\View\Helper\Placeholder\Container\AbstractStandalone::$$view