Public Member Functions | |
__construct () | |
headLink (array $attributes=null, $placement=Zend_View_Helper_Placeholder_Container_Abstract::APPEND) | |
__call ($method, $args) | |
append ($value) | |
offsetSet ($index, $value) | |
prepend ($value) | |
set ($value) | |
itemToString (stdClass $item) | |
toString ($indent=null) | |
createData (array $attributes) | |
createDataStylesheet (array $args) | |
createDataAlternate (array $args) | |
Protected Member Functions | |
_isValid ($value) | |
_isDuplicateStylesheet ($uri) | |
Protected Attributes | |
$_itemKeys = array('charset', 'href', 'hreflang', 'media', 'rel', 'rev', 'type', 'title', 'extras') | |
$_regKey = 'Zend_View_Helper_HeadLink' |
Definition at line 36 of file HeadLink.php.
__construct | ( | ) |
Constructor
Use PHP_EOL as separator
Reimplemented from Zend_View_Helper_Placeholder_Container_Standalone.
Definition at line 57 of file HeadLink.php.
__call | ( | $ | method, |
$ | args | ||
) |
Overload method access
Creates the following virtual methods:
Items that may be added in the future:
mixed | $method | |
mixed | $args |
Reimplemented from Zend_View_Helper_Placeholder_Container_Standalone.
Definition at line 126 of file HeadLink.php.
_isDuplicateStylesheet | ( | $ | uri ) | [protected] |
Is the linked stylesheet a duplicate?
string | $uri |
Definition at line 381 of file HeadLink.php.
_isValid | ( | $ | value ) | [protected] |
Check if value is valid
mixed | $value |
Definition at line 173 of file HeadLink.php.
append | ( | $ | value ) |
createData | ( | array $ | attributes ) |
Create data item for stack
array | $attributes |
Definition at line 325 of file HeadLink.php.
createDataAlternate | ( | array $ | args ) |
Create item for alternate link item
array | $args |
Definition at line 397 of file HeadLink.php.
createDataStylesheet | ( | array $ | args ) |
Create item for stylesheet link item
array | $args |
Definition at line 337 of file HeadLink.php.
headLink | ( | array $ | attributes = null , |
$ | placement = Zend_View_Helper_Placeholder_Container_Abstract::APPEND |
||
) |
headLink() - View Helper Method
Returns current object instance. Optionally, allows passing array of values to build link.
Definition at line 71 of file HeadLink.php.
itemToString | ( | stdClass $ | item ) |
Create HTML link element from data item
stdClass | $item |
Definition at line 261 of file HeadLink.php.
offsetSet | ( | $ | index, |
$ | value | ||
) |
string | int | $index | |
array | $value |
Reimplemented from Zend_View_Helper_Placeholder_Container_Standalone.
Definition at line 212 of file HeadLink.php.
prepend | ( | $ | value ) |
array | $value |
Definition at line 228 of file HeadLink.php.
set | ( | $ | value ) |
array | $value |
Definition at line 244 of file HeadLink.php.
toString | ( | $ | indent = null ) |
Render link elements as string
string | int | $indent |
Definition at line 304 of file HeadLink.php.