Difference between revisions of "JDocumentHTML::addHeadLink"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JDocumentHTML::addHeadLink|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JDocumentHTML::addHeadLink|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function addHeadLink ( |
+ | $href | ||
+ | $relation | ||
+ | $relType= 'rel' | ||
+ | $attribs=array | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 40: | Line 44: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' | |
− | + | * '''Defined''' on line 190 of libraries/joomla/document/html/html.php | |
− | |||
− | libraries/joomla/document/html/html.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JDocumentHTML::addHeadLink source code''' on [[jplatform:document/html/html.php#cl-182|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JDocumentHTML/11.1|JDocumentHTML]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Document/11.1|Document]] | ||
+ | * [[JDocumentHTML::addHeadLink|Other versions of JDocumentHTML::addHeadLink]] | ||
+ | {{SeeAlso:JDocumentHTML::addHeadLink}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JDocumentHTML::addHeadLink|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JDocumentHTML::addHeadLink|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 61: | Line 63: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JDocumentHTML]][[Category:JDocumentHTML::addHeadLink]]</noinclude> | <noinclude>[[Category:JDocumentHTML]][[Category:JDocumentHTML::addHeadLink]]</noinclude> |
Revision as of 20:48, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JDocumentHTML::addHeadLink[edit]
Description[edit]
Adds <link> tags to the head of the document.
Template:Description:JDocumentHTML::addHeadLink [Edit Descripton]
public function addHeadLink (
$href
$relation
$relType= 'rel'
$attribs=array
)
Parameter | Type | Default | Description |
---|---|---|---|
$href | |||
$relation | |||
$relType | 'rel' | ||
$attribs | array() |
- Returns
- Defined on line 190 of libraries/joomla/document/html/html.php
See also[edit]
- JDocumentHTML::addHeadLink source code on BitBucket
- Class JDocumentHTML
- Subpackage Document
- Other versions of JDocumentHTML::addHeadLink
Template:SeeAlso:JDocumentHTML::addHeadLink [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />