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

Public Member Functions

 _getDecisions ()
 
 execute ($args, $request)
 
 initData ($args, $request)
 
 SendReviewsForm ($submission, $decision, $stageId, $reviewRound=null)
 
- Public Member Functions inherited from EditorDecisionWithEmailForm
 _sendReviewMailToAuthor ($submission, $emailKey, $request)
 
 _updateReviewRoundStatus ($submission, $status, $reviewRound=null)
 
 EditorDecisionWithEmailForm ($submission, $decision, $stageId, $template, $reviewRound=null)
 
 fetch ($request)
 
 getSaveFormOperation ()
 
 initData ($args, $request, $actionLabels)
 
 readInputData ()
 
 setSaveFormOperation ($saveFormOperation)
 
- 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 to request additional work from the author (Request revisions or resubmit for review), or to decline the submission.

Definition at line 22 of file SendReviewsForm.inc.php.

Member Function Documentation

SendReviewsForm::_getDecisions ( )

Get this form decisions.

Returns
array

Definition at line 115 of file SendReviewsForm.inc.php.

Referenced by execute(), initData(), and SendReviewsForm().

SendReviewsForm::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 59 of file SendReviewsForm.inc.php.

References _getDecisions(), EditorDecisionWithEmailForm\_sendReviewMailToAuthor(), EditorDecisionWithEmailForm\_updateReviewRoundStatus(), EditorDecisionActionsManager\getActionLabels(), EditorDecisionForm\getDecision(), EditorDecisionForm\getReviewRound(), EditorDecisionForm\getStageId(), EditorDecisionForm\getSubmission(), and Application\getSubmissionDAO().

SendReviewsForm::initData (   $args,
  $request 
)

Initialize form data for a new form.

Definition at line 50 of file SendReviewsForm.inc.php.

References _getDecisions(), and EditorDecisionActionsManager\getActionLabels().

SendReviewsForm::SendReviewsForm (   $submission,
  $decision,
  $stageId,
  $reviewRound = null 
)

Constructor.

Parameters
$submissionSubmission
$decisionint
$stageIdint
$reviewRoundReviewRound

Definition at line 30 of file SendReviewsForm.inc.php.

References _getDecisions(), and EditorDecisionWithEmailForm\setSaveFormOperation().


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