An action to add a submission file. More...
Public Member Functions | |
| _getTextLabels ($fileStage) | |
| AddFileLinkAction (&$request, $monographId, $stageId, $uploaderRoles, $fileStage, $assocType=null, $assocId=null, $reviewRoundId=null) | |
An action to add a submission file.
Definition at line 20 of file AddFileLinkAction.inc.php.
| AddFileLinkAction._getTextLabels | ( | $ | fileStage | ) |
Static method to return text labels for upload to different file stages.
| $fileStage | integer One of the MONOGRAPH_FILE_* constants. |
Definition at line 72 of file AddFileLinkAction.inc.php.
Referenced by AddFileLinkAction().
| AddFileLinkAction.AddFileLinkAction | ( | &$ | request, | |
| $ | monographId, | |||
| $ | stageId, | |||
| $ | uploaderRoles, | |||
| $ | fileStage, | |||
| $ | assocType = null, |
|||
| $ | assocId = null, |
|||
| $ | reviewRoundId = null | |||
| ) |
Constructor
| $request | Request | |
| $monographId | integer The monograph 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 MONOGRAPH_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. | |
| $reviewRound | ReviewRound The current review round (if any). |
Definition at line 40 of file AddFileLinkAction.inc.php.
References _getTextLabels(), and BaseAddFileLinkAction.BaseAddFileLinkAction().
1.7.1