API17:JHtml::link
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 40: | Line 40: | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/html/html.php | + | libraries/joomla/html/html.php (line 204) |
| + | * see source code in [[jplatform:html/html.php#cl-204|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:39, 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.
JHtml::link
Description
Write a element.
Description:JHtml::link [Edit Descripton]
Since
Synopsis
public static JHtml::link ($url, $text, $attribs=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $url | string | The relative URL to use for the href attribute | |
| $text | string | The target attribute to use | |
| $attribs | array | null | An associative array of attributes to add |
Returns
Defined in
libraries/joomla/html/html.php (line 204)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
