Zend\View\Helper\HeadMeta
Zend\View\Helper\HeadMeta
Synopsis
class HeadMeta
extends AbstractStandalone
{
- // members
- protected array $typeKeys;
- protected array $requiredKeys;
- protected array $modifierKeys;
- protected string $regKey;
- // Inherited members from AbstractStandalone
- protected bool $autoEscape;
- protected AbstractContainer $container;
- protected string $containerClass;
- protected array $escapers;
- // Inherited members from AbstractHelper
- protected RendererInterface $view;
- // methods
- public void __construct()
- public HeadMeta __invoke()
- public HeadMeta __call()
- public string toString()
- public stdClass createData()
- public string itemToString()
- protected string normalizeType()
- protected bool isValid()
- public void append()
- public void offsetSet()
- public void offsetUnset()
- public void prepend()
- public void set()
- public HeadMeta setCharset()
- // Inherited methods from AbstractStandalone
- public void __construct()
- public mixed __call()
- public void __set()
- public mixed __get()
- public bool __isset()
- public void __unset()
- public string __toString()
- public string toString()
- protected string escape()
- public AbstractStandalone setAutoEscape()
- public void getAutoEscape()
- public AbstractStandalone setContainer()
- public AbstractContainer getContainer()
- public bool deleteContainer()
- public AbstractStandalone setContainerClass()
- public string getContainerClass()
- public AbstractStandalone setEscaper()
- public mixed getEscaper()
- public int count()
- public bool offsetExists()
- public mixed offsetGet()
- public void offsetSet()
- public void offsetUnset()
- public Iterator getIterator()
- // Inherited methods from AbstractHelper
- public AbstractHelper setView()
- public null|Renderer getView()
Hierarchy
Members
protected
- $autoEscape
—
Zend\View\Helper\Placeholder\Container\bool
Flag whether to automatically escape output, must also be enforced in the child class if __toString/toString is overridden - $container — Zend\View\Helper\Placeholder\Container\AbstractContainer
- $containerClass
—
string
Default container class - $escapers — array
- $modifierKeys
—
array
Allowed modifier keys - $regKey
—
string
Registry key for placeholder - $requiredKeys
—
array
Required attributes for meta tag - $typeKeys
—
array
Allowed key types - $view
—
Zend\View\Renderer\RendererInterface
View object instance
Methods
protected
- isValid() — Determine if item is valid
- normalizeType() — Normalize type attribute of meta
public
- __construct() — Constructor
- __call() — Overload method access
- __invoke() — Retrieve object instance; optionally add meta tag
- append() — Append
- createData() — Create data item for inserting into stack
- itemToString() — Build meta HTML string
- offsetSet() — OffsetSet
- offsetUnset() — OffsetUnset
- prepend() — Prepend
- set() — Set
- setCharset() — Create an HTML5-style meta charset tag. Something like <meta charset="utf-8">
- toString() — Render placeholder as string
Inherited from Zend\View\Helper\Placeholder\Container\AbstractStandalone
protected
- escape() — Escape a string
public
- __call() — Overload
- __get() — Overloading: retrieve property
- __isset() — Overloading: check if property is set
- __set() — Overloading: set property value
- __toString() — Cast to string representation
- __unset() — Overloading: unset property
- count() — Countable
- deleteContainer() — Delete a container
- getAutoEscape() — Return whether autoEscaping is enabled or disabled
- getContainer() — Retrieve placeholder container
- getContainerClass() — Retrieve the container class
- getEscaper() — Get Escaper instance
- getIterator() — IteratorAggregate: get Iterator
- offsetExists() — ArrayAccess: offsetExists
- offsetGet() — ArrayAccess: offsetGet
- offsetSet() — ArrayAccess: offsetSet
- offsetUnset() — ArrayAccess: offsetUnset
- setAutoEscape() — Set whether or not auto escaping should be used
- setContainer() — Set container on which to operate
- setContainerClass() — Set the container class to use
- setEscaper() — Set Escaper instance
- toString() — String representation