|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($request, $submissionFile, $stageId=null, $label=null) | |
| getLabel ($submissionFile) | |
Public Member Functions inherited from FileLinkAction | |
| __construct ($id, $actionRequest, $title=null, $image=null, $tooltip=null) | |
| getActionArgs ($submissionFile, $stageId=null) | |
Public Member Functions inherited from LinkAction | |
| getActionRequest () | |
| getHoverTitle () | |
| getId () | |
| getImage () | |
| getTitle () | |
| getToolTip () | |
| setTitle ($title) | |
Data Fields | |
| $label | |
Data Fields inherited from LinkAction | |
| $_actionRequest | |
| $_id | |
| $_image | |
| $_title | |
| $_toolTip | |
An action to download a file.
Definition at line 17 of file DownloadFileLinkAction.inc.php.
| DownloadFileLinkAction::__construct | ( | $request, | |
| $submissionFile, | |||
$stageId = null, |
|||
$label = null |
|||
| ) |
Constructor
| $request | Request |
| $submissionFile | SubmissionFile the submission file to link to. |
| $stageId | int (optional) |
| $label | string (optional) Label to use instead of filename |
Reimplemented in DownloadCopyeditedFileLinkAction.
Definition at line 32 of file DownloadFileLinkAction.inc.php.
References $label, and getLabel().
| DownloadFileLinkAction::getLabel | ( | $submissionFile | ) |
Get the label for the file download action.
| $submissionFile | SubmissionFile |
Definition at line 59 of file DownloadFileLinkAction.inc.php.
References $label.
Referenced by __construct().
| string DownloadFileLinkAction::$label |
Optional label to use instead of file name
Definition at line 22 of file DownloadFileLinkAction.inc.php.
Referenced by __construct(), and getLabel().