| Fully Qualified Name: | Zend\View\Helper\HeadLink |
| Extends: | AbstractStandalone |
| Name | Description | Defined By |
|---|---|---|
| __call() | Overload method access | HeadLink |
| __construct() | Constructor | HeadLink |
| __get() | Overloading: retrieve property | AbstractStandalone |
| __invoke() | headLink() - View Helper Method | HeadLink |
| __isset() | Overloading: check if property is set | AbstractStandalone |
| __set() | Overloading: set property value | AbstractStandalone |
| __toString() | Cast to string representation | AbstractStandalone |
| __unset() | Overloading: unset property | AbstractStandalone |
| append() | append() | HeadLink |
| count() | Countable | AbstractStandalone |
| createData() | Create data item for stack | HeadLink |
| createDataAlternate() | Create item for alternate link item | HeadLink |
| createDataNext() | Create item for a prev relationship (mainly used for pagination) | HeadLink |
| createDataPrev() | Create item for a prev relationship (mainly used for pagination) | HeadLink |
| createDataStylesheet() | Create item for stylesheet link item | HeadLink |
| deleteContainer() | Delete a container | AbstractStandalone |
| getAutoEscape() | Return whether autoEscaping is enabled or disabled | AbstractStandalone |
| getContainer() | Retrieve placeholder container | AbstractStandalone |
| getContainerClass() | Retrieve the container class | AbstractStandalone |
| getEscaper() | Get Escaper instance | AbstractStandalone |
| getIterator() | IteratorAggregate: get Iterator | AbstractStandalone |
| getView() | Get the view object | AbstractHelper |
| headLink() | Proxy to __invoke() | HeadLink |
| itemToString() | Create HTML link element from data item | HeadLink |
| offsetExists() | ArrayAccess: offsetExists | AbstractStandalone |
| offsetGet() | ArrayAccess: offsetGet | AbstractStandalone |
| offsetSet() | offsetSet() | HeadLink |
| offsetUnset() | ArrayAccess: offsetUnset | AbstractStandalone |
| prepend() | prepend() | HeadLink |
| set() | set() | HeadLink |
| setAutoEscape() | Set whether or not auto escaping should be used | AbstractStandalone |
| setContainer() | Set container on which to operate | AbstractStandalone |
| setContainerClass() | Set the container class to use | AbstractStandalone |
| setEscaper() | Set Escaper instance | AbstractStandalone |
| setView() | Set the View object | AbstractHelper |
| toString() | Render link elements as string | HeadLink |
Overload method access
Items that may be added in the future:
| Parameter Name | Type | Description |
|---|---|---|
| $method | mixed | |
| $args | mixed |
Returns: void
Constructor
Use PHP_EOL as separator
Returns:
Overloading: retrieve property
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: mixed
headLink() - View Helper Method
Returns current object instance. Optionally, allows passing array of values to build link.
| Parameter Name | Type | Description |
|---|---|---|
| $attributes | array | |
| $placement | string |
Returns: \HeadLink
Overloading: check if property is set
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: bool
Overloading: set property value
| Parameter Name | Type | Description |
|---|---|---|
| $key | string | |
| $value | mixed |
Returns: void
Cast to string representation
Returns: string
Overloading: unset property
| Parameter Name | Type | Description |
|---|---|---|
| $key | string |
Returns: void
append()
| Parameter Name | Type | Description |
|---|---|---|
| $value | array |
Returns: void
Countable
Returns: int
Create data item for stack
| Parameter Name | Type | Description |
|---|---|---|
| $attributes | array |
Returns: \stdClass
Create item for alternate link item
| Parameter Name | Type | Description |
|---|---|---|
| $args | array |
Returns: \stdClass
Create item for a prev relationship (mainly used for pagination)
| Parameter Name | Type | Description |
|---|---|---|
| $args | array |
Returns: \stdClass
Create item for a prev relationship (mainly used for pagination)
| Parameter Name | Type | Description |
|---|---|---|
| $args | array |
Returns: \stdClass
Create item for stylesheet link item
| Parameter Name | Type | Description |
|---|---|---|
| $args | array |
Returns: \stdClass|bool Returns false if stylesheet is a duplicate
Delete a container
Returns: bool
Return whether autoEscaping is enabled or disabled
return bool
Returns:
Retrieve placeholder container
Returns: \AbstractContainer
Retrieve the container class
Returns: string
Get Escaper instance
Lazy-loads one if none available
| Parameter Name | Type | Description |
|---|---|---|
| $enc | string|null | Encoding |
Returns: mixed
IteratorAggregate: get Iterator
Returns: \Iterator
Get the view object
Returns: null|\Renderer
Proxy to __invoke()
Allows calling $helper->headLink(), but, more importantly, chaining calls like ->appendStylesheet()->headLink().
| Parameter Name | Type | Description |
|---|---|---|
| $attributes | array | |
| $placement | string |
Returns: \HeadLink
Create HTML link element from data item
| Parameter Name | Type | Description |
|---|---|---|
| $item | \stdClass |
Returns: string
ArrayAccess: offsetExists
| Parameter Name | Type | Description |
|---|---|---|
| $offset | string|int |
Returns: bool
ArrayAccess: offsetGet
| Parameter Name | Type | Description |
|---|---|---|
| $offset | string|int |
Returns: mixed
offsetSet()
| Parameter Name | Type | Description |
|---|---|---|
| $index | string|int | |
| $value | array |
Returns: void
ArrayAccess: offsetUnset
| Parameter Name | Type | Description |
|---|---|---|
| $offset | string|int |
Returns: void
prepend()
| Parameter Name | Type | Description |
|---|---|---|
| $value | array |
Returns: \HeadLink
set()
| Parameter Name | Type | Description |
|---|---|---|
| $value | array |
Returns: \HeadLink
Set whether or not auto escaping should be used
| Parameter Name | Type | Description |
|---|---|---|
| $autoEscape | bool | whether |
Returns: \AbstractStandalone
Set container on which to operate
| Parameter Name | Type | Description |
|---|---|---|
| $container | \AbstractContainer |
Returns: \AbstractStandalone
Set the container class to use
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: \Zend\View\Helper\Placeholder\Container\AbstractStandalone
Set Escaper instance
| Parameter Name | Type | Description |
|---|---|---|
| $escaper | \Escaper |
Returns: \AbstractStandalone
Set the View object
| Parameter Name | Type | Description |
|---|---|---|
| $view | \Renderer |
Returns: \AbstractHelper
Render link elements as string
| Parameter Name | Type | Description |
|---|---|---|
| $indent | string|int |
Returns: string