Zend_Layout_View_Helper_HeadLink

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

 Methods

Overload method access

__call(mixed $method, mixed $args) : void

Items that may be added in the future: - Navigation? need to find docs on this - public function appendStart() - public function appendContents() - public function appendPrev() - public function appendNext() - public function appendIndex() - public function appendEnd() - public function appendGlossary() - public function appendAppendix() - public function appendHelp() - public function appendBookmark() - Other? - public function appendCopyright() - public function appendChapter() - public function appendSection() - public function appendSubsection()

Parameters

$method

mixed

$args

mixed

Exceptions

\Zend\View\Exception\BadMethodCallException

Constructor

__construct() 

Use PHP_EOL as separator

Overloading: retrieve property

__get(string $key) : mixed
Inherited

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

Parameters

$key

string

Returns

mixed

headLink() - View Helper Method

__invoke(array $attributes, string $placement) : \Zend\View\Helper\HeadLink

Returns current object instance. Optionally, allows passing array of values to build link.

Parameters

$attributes

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(array $value) : void

Parameters

$value

array

Exceptions

\Zend\View\Exception\InvalidArgumentException

appendAlternate()

appendAlternate( $href,  $type,  $title,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$href

$type

$title

$extras

Returns

appendStylesheet()

appendStylesheet( $href,  $media,  $conditionalStylesheet,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$href

$media

$conditionalStylesheet

$extras

Returns

Countable

count() : int
Inherited

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

Returns

int

Create data item for stack

createData(array $attributes) : \stdClass

Parameters

$attributes

array

Returns

Create item for alternate link item

createDataAlternate(array $args) : \stdClass

Parameters

$args

array

Exceptions

\Zend\View\Exception\InvalidArgumentException

Returns

Create item for a prev relationship (mainly used for pagination)

createDataNext(array $args) : \stdClass

Parameters

$args

array

Returns

Create item for a prev relationship (mainly used for pagination)

createDataPrev(array $args) : \stdClass

Parameters

$args

array

Returns

Create item for stylesheet link item

createDataStylesheet(array $args) : \stdClass | false

Parameters

$args

array

Returns

\stdClassfalseReturns false if stylesheet is a duplicate

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

Create HTML link element from data item

itemToString(\stdClass $item) : string

Parameters

$item

\stdClass

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, array $value) : void

Parameters

$index

stringint

$value

array

Exceptions

\Zend\View\Exception\InvalidArgumentException

offsetSetAlternate()

offsetSetAlternate( $index,  $href,  $type,  $title,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$index

$href

$type

$title

$extras

Returns

offsetSetStylesheet()

offsetSetStylesheet( $index,  $href,  $media,  $conditionalStylesheet,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$index

$href

$media

$conditionalStylesheet

$extras

Returns

ArrayAccess: offsetUnset

offsetUnset(string | int $offset) : void
Inherited

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

Parameters

$offset

stringint

prepend()

prepend(array $value) : \Zend\View\Helper\HeadLink

prependAlternate()

prependAlternate( $href,  $type,  $title,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$href

$type

$title

$extras

Returns

prependStylesheet()

prependStylesheet( $href,  $media,  $conditionalStylesheet,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$href

$media

$conditionalStylesheet

$extras

Returns

set()

set(array $value) : \Zend\View\Helper\HeadLink

setAlternate()

setAlternate( $href,  $type,  $title,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$href

$type

$title

$extras

Returns

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

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

setStylesheet()

setStylesheet( $href,  $media,  $conditionalStylesheet,  $extras) : \Zend\View\Helper\HeadLink

magic
method

Parameters

$href

$media

$conditionalStylesheet

$extras

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

Is the linked stylesheet a duplicate?

isDuplicateStylesheet(string $uri) : bool

Parameters

$uri

string

Returns

bool

Check if value is valid

isValid(mixed $value) : bool

Parameters

$value

mixed

Returns

bool

 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 attributes

$itemKeys : array

 

Registry key for placeholder

$regKey : string

 

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