/** * Constructor. * @param $request Request * @param $monographId integer * @param $uploaderRoles array * @param $stageId integer One of the WORKFLOW_STAGE_ID_* constants. * @param $fileStage integer * @param $revisionOnly boolean * @param $reviewType integer * @param $round integer * @param $revisedFileId integer */ function SubmissionFilesUploadForm(&$request, $monographId, $stageId, $uploaderRoles, $fileStage, $revisionOnly = false, $reviewType = null, $round = null, $revisedFileId = null) { // Initialize class. assert(is_null($uploaderRoles) || is_array($uploaderRoles) && count($uploaderRoles) > 1); $this->_uploaderRoles = $uploaderRoles; parent::SubmissionFilesUploadBaseForm($request, 'controllers/wizard/fileUpload/form/fileUploadForm.tpl', $monographId, $stageId, $fileStage, $revisionOnly, $reviewType, $round, $revisedFileId); }
/** * Constructor. * @param $request Request * @param $monographId integer * @param $stageId integer One of the WORKFLOW_STAGE_ID_* constants. * @param $fileStage integer * @param $revisedFileId integer * @param $uploadedFile integer */ function SubmissionFilesUploadConfirmationForm(&$request, $monographId, $stageId, $fileStage, $revisedFileId = null, $uploadedFile = null) { // Initialize class. parent::SubmissionFilesUploadBaseForm($request, 'controllers/wizard/fileUpload/form/fileUploadConfirmationForm.tpl', $monographId, $stageId, $fileStage, false, null, null, $revisedFileId); if (is_a($uploadedFile, 'MonographFile')) { $this->setData('uploadedFile', $uploadedFile); } }
/** * Constructor. * @param $request Request * @param $submissionId integer * @param $uploaderRoles array * @param $uploaderGroupIds array|null * @param $stageId integer One of the WORKFLOW_STAGE_ID_* constants. * @param $fileStage integer * @param $revisionOnly boolean * @param $stageId integer * @param $reviewRound ReviewRound * @param $revisedFileId integer */ function SubmissionFilesUploadForm($request, $submissionId, $stageId, $uploaderRoles, $uploaderGroupIds, $fileStage, $revisionOnly = false, $reviewRound = null, $revisedFileId = null, $assocType = null, $assocId = null) { // Initialize class. assert(is_null($uploaderRoles) || is_array($uploaderRoles) && count($uploaderRoles) >= 1); $this->_uploaderRoles = $uploaderRoles; assert(is_null($uploaderGroupIds) || is_array($uploaderGroupIds) && count($uploaderGroupIds) >= 1); $this->_uploaderGroupIds = $uploaderGroupIds; AppLocale::requireComponents(LOCALE_COMPONENT_APP_MANAGER); parent::SubmissionFilesUploadBaseForm($request, 'controllers/wizard/fileUpload/form/fileUploadForm.tpl', $submissionId, $stageId, $fileStage, $revisionOnly, $reviewRound, $revisedFileId, $assocType, $assocId); // Disable the genre selector for review file attachments if ($fileStage == SUBMISSION_FILE_REVIEW_ATTACHMENT) { $this->setData('isReviewAttachment', true); } }
/** * Constructor. * @param $request Request * @param $monographId integer * @param $fileStage integer * @param $revisionOnly boolean * @param $revisedFileId integer */ function SubmissionFilesUploadForm(&$request, $monographId, $fileStage, $revisionOnly = false, $revisedFileId = null) { // Initialize class. parent::SubmissionFilesUploadBaseForm($request, 'controllers/grid/files/submissionFiles/form/fileUploadForm.tpl', $monographId, $fileStage, $revisionOnly, $revisedFileId); }