JHtml::link
Write a <a></a> element
Signature
public function link(string
$url,
[string
$text = null,
[array
$attribs = null]] )
Parameters
-
$url
- The relative URL to use for the href attribute
-
$text
- The target attribute to use
-
$attribs
- An associative array of attributes to add
Returns
- string
- <a></a> string