Open Journal Systems  3.3.0
NewReviewRoundForm Class Reference
Inheritance diagram for NewReviewRoundForm:
EditorDecisionForm Form

Public Member Functions

 __construct ($submission, $decision=SUBMISSION_EDITOR_DECISION_NEW_ROUND, $stageId=null, $reviewRound)
 
 _getDecisions ()
 
 execute (... $functionArgs)
 
- Public Member Functions inherited from EditorDecisionForm
 __construct ($submission, $decision, $stageId, $template, $reviewRound=null)
 
 _initiateReviewRound ($submission, $stageId, $request, $status=null)
 
 fetch ($request, $template=null, $display=false)
 
 getDecision ()
 
 getReviewRound ()
 
 getStageId ()
 
 getSubmission ()
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 addSupportedFormLocale ($supportedLocale)
 
 display ($request=null, $template=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isValid ()
 
 readUserVars ($vars)
 
 setData ($key, $value=null)
 
 setDefaultFormLocale ($defaultLocale)
 
 setTemplate ($template)
 
 validate ($callHooks=true)
 

Additional Inherited Members

- Data Fields inherited from EditorDecisionForm
 $_decision
 
 $_reviewRound
 
 $_stageId
 
 $_submission
 
- Data Fields inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $defaultLocale
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for creating a new review round (after the first)

Definition at line 19 of file NewReviewRoundForm.inc.php.

Constructor & Destructor Documentation

◆ __construct()

NewReviewRoundForm::__construct (   $submission,
  $decision = SUBMISSION_EDITOR_DECISION_NEW_ROUND,
  $stageId = null,
  $reviewRound 
)

Constructor.

Parameters
$submissionSubmission
$decisionint
stageidint

Reimplemented from Form.

Definition at line 27 of file NewReviewRoundForm.inc.php.

Member Function Documentation

◆ _getDecisions()

NewReviewRoundForm::_getDecisions ( )

Get this form decisions.

Returns
array

Definition at line 78 of file NewReviewRoundForm.inc.php.

Referenced by execute().

◆ execute()

NewReviewRoundForm::execute (   $functionArgs)

Execute the form's action. (Note that it is assumed that the form has already been validated.)

Parameters
mixed$functionArgs,...Arguments from the caller to be passed to the hook consumer
Returns
mixed Result from the consumer to be passed to the caller. Send a true-ish result if you want the caller to do something with the return value.
integer The new review round number

Reimplemented from Form.

Definition at line 41 of file NewReviewRoundForm.inc.php.

References _getDecisions(), EditorDecisionForm\_initiateReviewRound(), PKPApplication\get(), DAORegistry\getDAO(), EditorDecisionForm\getReviewRound(), EditorDecisionForm\getStageId(), and EditorDecisionForm\getSubmission().


The documentation for this class was generated from the following file: