API17

Difference between revisions of "JDocumentHTML::addFavicon"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JDocumentHTML->addFavicon ($href, $type= 'image/vnd.microsoft.icon', $relation= 'shortcut icon')
+
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

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.

Joomla 11.1 JDocumentHTML::addFavicon[edit]

Description[edit]

Adds a shortcut icon (favicon).

Template:Description:JDocumentHTML::addFavicon [Edit Descripton]

Synopsis[edit]

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[edit]

Defined in[edit]

libraries/joomla/document/html/html.php (line 208)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JDocumentHTML::addFavicon

Examples[edit]

<CodeExamplesForm />