API17:JDocumentHTML::addFavicon
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JDocumentHTML::addFavicon ($href, $type= 'image/vnd.microsoft.icon', $relation= 'shortcut icon') |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 38: | Line 38: | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/document/html/html.php | + | libraries/joomla/document/html/html.php (line 208) |
| + | * see source code in [[jplatform:document/html/html.php#cl-208|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:22, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JDocumentHTML::addFavicon
Description
Adds a shortcut icon (favicon).
Description:JDocumentHTML::addFavicon [Edit Descripton]
Synopsis
public JDocumentHTML::addFavicon ($href, $type= 'image/vnd.microsoft.icon', $relation= 'shortcut icon')
| Parameter | Type | Default | Description |
|---|---|---|---|
| $href | |||
| $type | 'image/vnd.microsoft.icon' | ||
| $relation | 'shortcut icon' |
Returns
Defined in
libraries/joomla/document/html/html.php (line 208)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JDocumentHTML::addFavicon
Examples
<CodeExamplesForm />
