Zend\View\Helper\HeadLink
Zend_Layout_View_Helper_HeadLink
Synopsis
class HeadLink
extends AbstractStandalone
{
- // 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 HeadLink headLink()
- public HeadLink __invoke()
- public void __call()
- protected bool isValid()
- public void append()
- public void offsetSet()
- public HeadLink prepend()
- public HeadLink set()
- public string itemToString()
- public string toString()
- public stdClass createData()
- public stdClass|false createDataStylesheet()
- protected bool isDuplicateStylesheet()
- public stdClass createDataAlternate()
- public stdClass createDataPrev()
- public stdClass createDataNext()
- // 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
- $itemKeys
—
array
Allowed attributes - $regKey
—
string
Registry key for placeholder - $view
—
Zend\View\Renderer\RendererInterface
View object instance
Methods
protected
- isDuplicateStylesheet() — Is the linked stylesheet a duplicate?
- isValid() — Check if value is valid
public
- __construct() — Constructor
- __call() — Overload method access
- __invoke() — headLink() - View Helper Method
- append() — append()
- createData() — Create data item for stack
- createDataAlternate() — Create item for alternate link item
- createDataNext() — Create item for a prev relationship (mainly used for pagination)
- createDataPrev() — Create item for a prev relationship (mainly used for pagination)
- createDataStylesheet() — Create item for stylesheet link item
- headLink() — Proxy to __invoke()
- itemToString() — Create HTML link element from data item
- offsetSet() — offsetSet()
- prepend() — prepend()
- set() — set()
- toString() — Render link elements 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