|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($submissionId, $stageId, $reviewRoundId) | |
| execute ($stageSubmissionFiles, $fileStage=null) | |
| getReviewRound () | |
| getReviewRoundId () | |
| getStageId () | |
| initData () | |
Public Member Functions inherited from ManageSubmissionFilesForm | |
| __construct ($submissionId, $template) | |
| getSubmissionId () | |
| readInputData () | |
Public Member Functions inherited from Form | |
| __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null) | |
| _decomposeArray ($name, $value, $stack) | |
| addCheck ($formValidator) | |
| addError ($field, $message) | |
| addErrorField ($field) | |
| addSupportedFormLocale ($supportedLocale) | |
| display ($request=null, $template=null) | |
| execute (... $functionArgs) | |
| fetch ($request, $template=null, $display=false) | |
| getData ($key) | |
| getDefaultFormLocale () | |
| getErrorsArray () | |
| getLocaleFieldNames () | |
| getRequiredLocale () | |
| getTemplate () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $_reviewRoundId | |
| $_stageId | |
Data Fields inherited from ManageSubmissionFilesForm | |
| $_submissionId | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Protected Member Functions | |
| importFile ($context, $submissionFile, $fileStage) | |
Protected Member Functions inherited from ManageSubmissionFilesForm | |
| fileExistsInStage ($submissionFile, $stageSubmissionFiles, $fileStage) | |
Form for add or removing files from a review.
Definition at line 18 of file ManageReviewFilesForm.inc.php.
| ManageReviewFilesForm::__construct | ( | $submissionId, | |
| $stageId, | |||
| $reviewRoundId | |||
| ) |
Constructor.
Definition at line 36 of file ManageReviewFilesForm.inc.php.
| ManageReviewFilesForm::execute | ( | $stageSubmissionFiles, | |
$fileStage = null |
|||
| ) |
Save review round files @stageSubmissionFiles array The files that belongs to a file stage that is currently being used by a grid inside this form.
| $fileStage | int SUBMISSION_FILE_... |
Reimplemented from ManageSubmissionFilesForm.
Definition at line 93 of file ManageReviewFilesForm.inc.php.
| ManageReviewFilesForm::getReviewRound | ( | ) |
Definition at line 65 of file ManageReviewFilesForm.inc.php.
References DAORegistry\getDAO(), and getReviewRoundId().
Referenced by initData().
| ManageReviewFilesForm::getReviewRoundId | ( | ) |
Get the round
Definition at line 58 of file ManageReviewFilesForm.inc.php.
References $_reviewRoundId.
Referenced by getReviewRound(), and initData().
| ManageReviewFilesForm::getStageId | ( | ) |
Get the review stage id
Definition at line 50 of file ManageReviewFilesForm.inc.php.
References $_stageId.
Referenced by initData().
|
protected |
Make a copy of the file to the specified file stage.
| $context | Context |
| $submissionFile | SubmissionFile |
| $fileStage | int SUBMISSION_FILE_... |
Reimplemented from ManageSubmissionFilesForm.
Definition at line 100 of file ManageReviewFilesForm.inc.php.
References DAORegistry\getDAO().
| ManageReviewFilesForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from ManageSubmissionFilesForm.
Definition at line 77 of file ManageReviewFilesForm.inc.php.
References getReviewRound(), getReviewRoundId(), getStageId(), and Form\setData().
| int ManageReviewFilesForm::$_reviewRoundId |
| int ManageReviewFilesForm::$_stageId |