Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
DownloadFileLinkAction Class Reference
Inheritance diagram for DownloadFileLinkAction:
FileLinkAction LinkAction DownloadCopyeditedFileLinkAction

Public Member Functions

 DownloadFileLinkAction ($request, $submissionFile, $stageId=null, $label=null)
 
 getLabel ($submissionFile)
 
- Public Member Functions inherited from FileLinkAction
 FileLinkAction ($id, &$actionRequest, $title=null, $image=null, $tooltip=null)
 
 getActionArgs ($submissionFile, $stageId=null)
 
- Public Member Functions inherited from LinkAction
 getActionRequest ()
 
 getHoverTitle ()
 
 getId ()
 
 getImage ()
 
 getTitle ()
 
 getToolTip ()
 
 LinkAction ($id, &$actionRequest, $title=null, $image=null, $toolTip=null)
 

Public Attributes

 $label
 
- Public Attributes inherited from LinkAction
 $_actionRequest
 
 $_id
 
 $_image
 
 $_title
 
 $_toolTip
 

Detailed Description

An action to download a file.

Definition at line 17 of file DownloadFileLinkAction.inc.php.

Member Function Documentation

DownloadFileLinkAction::DownloadFileLinkAction (   $request,
  $submissionFile,
  $stageId = null,
  $label = null 
)

Constructor

Parameters
$requestRequest
$submissionFileSubmissionFile the submission file to link to.
$stageIdint (optional)
$labelstring (optional) Label to use instead of filename

Definition at line 32 of file DownloadFileLinkAction.inc.php.

DownloadFileLinkAction::getLabel (   $submissionFile)

Get the label for the file download action.

Parameters
$submissionFileSubmissionFile
Returns
string

Definition at line 58 of file DownloadFileLinkAction.inc.php.

Member Data Documentation

string DownloadFileLinkAction::$label

Optional label to use instead of file name

Definition at line 22 of file DownloadFileLinkAction.inc.php.


The documentation for this class was generated from the following file: