|
Previous Page |
Solar_View_Helper_Action |
Next Page |
action()
public
string
action (
string|Solar_Uri_Action $spec,
string $text default NULL,
string $attribs default NULL
)
Returns an action anchor, or just an action href.
Parameters
- (string|Solar_Uri_Action)
$spec: The action specification. - (string)
$text: A locale translation key. - (string)
$attribs: Additional attributes for the anchor.
Returns
- (string)
Description
Returns an action anchor, or just an action href.
If the $text link text is empty, will just return the href value, not an <a href="">...</a> anchor tag.