Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Layout_View_Helper_HeadLink
array $_itemKeys = 'array'
$_validAttributes
string $_regKey = 'Zend_View_Helper_HeadLink'
__call(
mixed $method, mixed $args
)
:
void
Overload method access
Creates the following virtual methods: - appendStylesheet($href, $media, $conditionalStylesheet, $extras) - offsetSetStylesheet($index, $href, $media, $conditionalStylesheet, $extras) - prependStylesheet($href, $media, $conditionalStylesheet, $extras) - setStylesheet($href, $media, $conditionalStylesheet, $extras) - appendAlternate($href, $type, $title, $extras) - offsetSetAlternate($index, $href, $type, $title, $extras) - prependAlternate($href, $type, $title, $extras) - setAlternate($href, $type, $title, $extras)
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()
__construct(
)
:
void
Constructor
Use PHP_EOL as separator
_isDuplicateStylesheet(
string $uri
)
:
bool
Is the linked stylesheet a duplicate?
_isValid(
mixed $value
)
:
boolean
Check if value is valid
append(
array $value
)
:
void
append()
createData(
array $attributes
)
:
stdClass
Create data item for stack
createDataAlternate(
array $args
)
:
stdClass
Create item for alternate link item
createDataStylesheet(
array $args
)
:
stdClass|false
Create item for stylesheet link item
headLink(
$attributes
=
null, $placement
=
Zend_View_Helper_Placeholder_Container_Abstract
)
:
Zend_View_Helper_HeadLink
headLink() - View Helper Method
Returns current object instance. Optionally, allows passing array of values to build link.
itemToString(
stdClass $item
)
:
string
Create HTML link element from data item
offsetSet(
string|int $index, array $value
)
:
void
offsetSet()
prepend(
array $value
)
:
Zend_Layout_ViewHelper_HeadLink
prepend()
set(
array $value
)
:
Zend_Layout_ViewHelper_HeadLink
set()
toString(
string|int $indent
=
null
)
:
string
Render link elements as string