Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
InitiateReviewForm Class Reference
Inheritance diagram for InitiateReviewForm:
EditorDecisionForm Form

Public Member Functions

 _getStageId ()
 
 execute ($args, $request)
 
 InitiateReviewForm ($submission, $decision, $stageId, $template)
 
- Public Member Functions inherited from EditorDecisionForm
 _initiateReviewRound ($submission, $stageId, $request, $status=null)
 
 EditorDecisionForm ($submission, $decision, $stageId, $template, $reviewRound=null)
 
 fetch ($request)
 
 getDecision ()
 
 getReviewRound ()
 
 getStageId ()
 
 getSubmission ()
 
 readInputData ()
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Additional Inherited Members

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

Detailed Description

Form for creating the first review round for a submission's external review (skipping internal)

Form for creating the first review round for a submission.

Form for creating the first review round for a submission's internal review.

Definition at line 18 of file InitiateReviewForm.inc.php.

Member Function Documentation

InitiateReviewForm::_getStageId ( )

Get the stage ID constant for the submission to be moved to.

Returns
int WORKFLOW_STAGE_ID_...

Definition at line 32 of file InitiateReviewForm.inc.php.

Referenced by execute().

InitiateReviewForm::execute (   $args,
  $request 
)

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

Parameters
$objectobject The object edited by this form.
Returns
$object The same object, potentially changed via hook.

Definition at line 42 of file InitiateReviewForm.inc.php.

References _getStageId(), EditorDecisionForm\_initiateReviewRound(), EditorDecisionActionsManager\getActionLabels(), and EditorDecisionForm\getSubmission().

InitiateReviewForm::InitiateReviewForm (   $submission,
  $decision,
  $stageId,
  $template 
)

Constructor.

Parameters
$submissionSubmission

Definition at line 24 of file InitiateReviewForm.inc.php.


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