str::link
Generates an a tag
str::link($href, $text = null, $attr = array())
Parameters
$href (string)
The url for the a tag
$text (mixed)
The optional text. If null, the url will be used as text
$attr (array)
Additional attributes for the tag
Return values
string
the generated html