Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($request, $submissionId, $stageId, $uploaderRoles, $fileStage, $assocType=null, $assocId=null, $reviewRoundId=null, $revisedFileId=null, $dependentFilesOnly=false) | |
_getTextLabels ($fileStage) | |
Public Member Functions inherited from BaseAddFileLinkAction | |
__construct ($request, $submissionId, $stageId, $uploaderRoles, $actionArgs, $wizardTitle, $buttonLabel) | |
Public Member Functions inherited from LinkAction | |
__construct ($id, $actionRequest, $title=null, $image=null, $toolTip=null) | |
getActionRequest () | |
getHoverTitle () | |
getId () | |
getImage () | |
getTitle () | |
getToolTip () | |
setTitle ($title) | |
Additional Inherited Members | |
Data Fields inherited from LinkAction | |
$_actionRequest | |
$_id | |
$_image | |
$_title | |
$_toolTip | |
An action to add a submission file.
Definition at line 18 of file AddFileLinkAction.inc.php.
AddFileLinkAction::__construct | ( | $request, | |
$submissionId, | |||
$stageId, | |||
$uploaderRoles, | |||
$fileStage, | |||
$assocType = null , |
|||
$assocId = null , |
|||
$reviewRoundId = null , |
|||
$revisedFileId = null , |
|||
$dependentFilesOnly = false |
|||
) |
Constructor
$request | Request |
$submissionId | integer The submission the file should be uploaded to. |
$stageId | integer The workflow stage in which the file uploader is being instantiated (one of the WORKFLOW_STAGE_ID_* constants). |
$uploaderRoles | array The ids of all roles allowed to upload in the context of this action. |
$fileStage | integer The file stage the file should be uploaded to (one of the SUBMISSION_FILE_* constants). |
$assocType | integer The type of the element the file should be associated with (one fo the ASSOC_TYPE_* constants). |
$assocId | integer The id of the element the file should be associated with. |
$reviewRoundId | int The current review round ID (if any) |
$revisedFileId | int Revised file ID, if any |
$dependentFilesOnly | bool whether to only include dependent files in the Genres dropdown. |
Definition at line 41 of file AddFileLinkAction.inc.php.
References _getTextLabels().
AddFileLinkAction::_getTextLabels | ( | $fileStage | ) |
Static method to return text labels for upload to different file stages.
$fileStage | integer One of the SUBMISSION_FILE_* constants. |
Definition at line 78 of file AddFileLinkAction.inc.php.
Referenced by __construct().