Esempio n. 1
0
 /**
  * Constructor.
  * @param $monograph Monograph
  * @param $decision int
  */
 function SendReviewsForm($monograph, $decision)
 {
     parent::EditorDecisionForm($monograph, 'controllers/modals/editorDecision/form/sendReviewsForm.tpl');
     assert(in_array($decision, array(SUBMISSION_EDITOR_DECISION_ACCEPT, SUBMISSION_EDITOR_DECISION_EXTERNAL_REVIEW, SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS, SUBMISSION_EDITOR_DECISION_RESUBMIT, SUBMISSION_EDITOR_DECISION_DECLINE)));
     $this->setDecision($decision);
     // Validation checks for this form
     $this->addCheck(new FormValidatorPost($this));
 }
 /**
  * Constructor.
  * @param $submission Submission
  * @param $decision integer
  * @param $stageId integer
  * @param $template string The template to display
  * @param $reviewRound ReviewRound
  */
 function EditorDecisionWithEmailForm($submission, $decision, $stageId, $template, $reviewRound = null)
 {
     parent::EditorDecisionForm($submission, $decision, $stageId, $template, $reviewRound);
 }
Esempio n. 3
0
 /**
  * Constructor.
  * @param $submission Submission
  * @param $decision int
  * @param stageid int
  */
 function NewReviewRoundForm($submission, $decision = SUBMISSION_EDITOR_DECISION_RESUBMIT, $stageId = null, $reviewRound)
 {
     parent::EditorDecisionForm($submission, $decision, $stageId, 'controllers/modals/editorDecision/form/newReviewRoundForm.tpl', $reviewRound);
     // WARNING: this constructor may be invoked dynamically by
     // EditorDecisionHandler::_instantiateEditorDecision.
 }
 /**
  * Constructor.
  * @param $submission Submission
  * @param $decision int SUBMISSION_EDITOR_DECISION_...
  * @param $stageId int WORKFLOW_STAGE_ID_...
  */
 function InitiateExternalReviewForm($submission, $decision, $stageId)
 {
     parent::EditorDecisionForm($submission, $decision, $stageId, 'controllers/modals/editorDecision/form/initiateExternalReviewForm.tpl');
 }
Esempio n. 5
0
 /**
  * Constructor.
  * @param $submission Submission
  */
 function InitiateReviewForm($submission, $decision, $stageId, $template)
 {
     parent::EditorDecisionForm($submission, $decision, $stageId, $template);
 }
 /**
  * Constructor.
  * @param $submission Submission
  * @param $decision int SUBMISSION_EDITOR_DECISION_...
  * @param $stageId int WORKFLOW_STAGE_ID_...
  */
 function InitiateExternalReviewForm($submission, $decision, $stageId)
 {
     AppLocale::requireComponents(LOCALE_COMPONENT_APP_SUBMISSION);
     parent::EditorDecisionForm($submission, $decision, $stageId, 'controllers/modals/editorDecision/form/initiateExternalReviewForm.tpl');
 }
Esempio n. 7
0
 /**
  * Constructor.
  * @param $seriesEditorSubmission SeriesEditorSubmission
  */
 function NewReviewRoundForm($seriesEditorSubmission)
 {
     parent::EditorDecisionForm($seriesEditorSubmission, 'controllers/modals/editorDecision/form/newReviewRoundForm.tpl');
 }
 /**
  * Constructor.
  * @param $seriesEditorSubmission SeriesEditorSubmission
  * @param $decision integer
  * @param $template string The template to display
  */
 function EditorDecisionWithEmailForm($seriesEditorSubmission, $decision, $template)
 {
     parent::EditorDecisionForm($seriesEditorSubmission, $template);
     $this->setDecision($decision);
 }
Esempio n. 9
0
 /**
  * Constructor.
  * @param $seriesEditorSubmission SeriesEditorSubmission
  */
 function InitiateReviewForm($seriesEditorSubmission)
 {
     parent::EditorDecisionForm($seriesEditorSubmission, 'controllers/modals/editorDecision/form/initiateReviewForm.tpl');
 }
Esempio n. 10
0
 /**
  * Constructor.
  * @param $monograph Monograph
  */
 function NewReviewRoundForm($monograph)
 {
     parent::EditorDecisionForm($monograph, 'controllers/modals/editorDecision/form/newReviewRoundForm.tpl');
     // Validation checks for this form
     $this->addCheck(new FormValidatorPost($this));
 }