JDocumentHTML::addHeadLink
Adds <link> tags to the head of the document
$relType defaults to 'rel' as it is the most common relation type used. ('rev' refers to reverse relation, 'rel' indicates normal, forward relation.) Typical tag: <link href="index.php" rel="Start">
Signature
public function addHeadLink(string
$href,
[string
$relation = 'rel',
[string
$relType = 'rel',
array
$attribs]] )
Parameters
-
$href
- The link that is being related.
-
$relation
- Relation of link.
-
$relType
- Relation type attribute. Either rel or rev (default: 'rel').
-
$attribs
- Associative array of remaining attributes.
Returns
- JDocumentHTML
- instance of $this to allow chaining