Solar_View_Helper_Anchor::anchor()
public
string
Solar_View_Helper_Anchor::anchor
( Solar_Uri|string $spec
, string $text = NULL
, array $attribs = array ()
)
Returns an anchor tag.
Parameters
(Solar_Uri|string)
$spec
: The anchor href specification.(string)
$text
: A locale translation key. If empty, the href will be used as the anchor text(array)
$attribs
: Attributes for the anchor.
Returns
(string)
Description
Returns an anchor tag.