Zend_Layout_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

Allows the following 'virtual' methods: - appendName($keyValue, $content, $modifiers = array()) - offsetGetName($index, $keyValue, $content, $modifiers = array()) - prependName($keyValue, $content, $modifiers = array()) - setName($keyValue, $content, $modifiers = array()) - appendHttpEquiv($keyValue, $content, $modifiers = array()) - offsetGetHttpEquiv($index, $keyValue, $content, $modifiers = array()) - prependHttpEquiv($keyValue, $content, $modifiers = array()) - setHttpEquiv($keyValue, $content, $modifiers = array()) - appendProperty($keyValue, $content, $modifiers = array()) - offsetGetProperty($index, $keyValue, $content, $modifiers = array()) - prependProperty($keyValue, $content, $modifiers = array()) - setProperty($keyValue, $content, $modifiers = array())

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

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

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

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() : \Iterator
Inherited

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

Returns

\Iterator

Retrieve registry

getRegistry() : \Zend\View\Helper\Placeholder\Registry
Inherited

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

Returns

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

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

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 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

Set registry object

setRegistry(\Zend\View\Helper\Placeholder\Registry $registry) : \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Inherited

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

Parameters

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
 

$escapers

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

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

$modifierKeys

$modifierKeys 

 

Registry key under which container registers itself

$regKey : string

 

$registry

$registry : \Zend\View\Helper\Placeholder\Registry
Inherited

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

$requiredKeys

$requiredKeys 

 

Types of attributes

$typeKeys : array

 

View object

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

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