Returns an anchor tag with the relevant parameters
public static link ( Horde_Url | string $url = '', string $title = '', string $class = '', string $target = '', string $onclick = '', string $title2 = '', string $accesskey = '', array $attributes = [], boolean $escape = true ) : string | ||
$url | Horde_Url | string | The full URL to be linked to. |
$title | string | The link title/description. |
$class | string | The CSS class of the link. |
$target | string | The window target to point to. |
$onclick | string | JavaScript action for the 'onclick' event. |
$title2 | string | The link title (tooltip) (deprecated - just use $title). |
$accesskey | string | The access key to use. |
$attributes | array | Any other name/value pairs to add to the tag. |
$escape | boolean | Whether to escape special characters in the title attribute. |
return | string | The full tag. |