public linkView ( Horde_Mime_Part $mime_part, integer $actionID, string $text, array $options = [] ) : string | ||
$mime_part | Horde_Mime_Part | The MIME part to view. |
$actionID | integer | The actionID value. |
$text | string | The ESCAPED (!) link text. |
$options | array | Additional parameters:
- attr: (array) Additional attributed to set on the link. - class: (string) The CSS class to use. - jstext: (string) The JS text to use. - params: (array) A list of any additional parameters that need to be passed to the download/view page. |
return | string | A HTML href link to the download/view page. |