Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($submission, $decision, $stageId, $reviewRound=null) | |
_getDecisions () | |
execute (... $functionArgs) | |
fetch ($request, $template=null, $display=false) | |
initData ($actionLabels=array()) | |
readInputData () | |
Public Member Functions inherited from EditorDecisionWithEmailForm | |
_getAllowedVariables ($request) | |
_getAllowedVariablesType () | |
_sendReviewMailToAuthor ($submission, $emailKey, $request) | |
_updateReviewRoundStatus ($submission, $status, $reviewRound=null) | |
getSaveFormOperation () | |
setSaveFormOperation ($saveFormOperation) | |
Public Member Functions inherited from EditorDecisionForm | |
__construct ($submission, $decision, $stageId, $template, $reviewRound=null) | |
_initiateReviewRound ($submission, $stageId, $request, $status=null) | |
getDecision () | |
getReviewRound () | |
getStageId () | |
getSubmission () | |
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 EditorDecisionWithEmailForm | |
$_saveFormOperation | |
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 | |
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.
SendReviewsForm::__construct | ( | $submission, | |
$decision, | |||
$stageId, | |||
$reviewRound = null |
|||
) |
Constructor.
$submission | Submission |
$decision | int |
$stageId | int |
$reviewRound | ReviewRound |
Reimplemented from Form.
Definition at line 30 of file SendReviewsForm.inc.php.
References _getDecisions(), fatalError(), and EditorDecisionWithEmailForm\setSaveFormOperation().
SendReviewsForm::_getDecisions | ( | ) |
Get this form decisions.
Definition at line 156 of file SendReviewsForm.inc.php.
Referenced by __construct(), execute(), and initData().
SendReviewsForm::execute | ( | $functionArgs | ) |
Execute the form's action. (Note that it is assumed that the form has already been validated.)
mixed | $functionArgs,... | Arguments from the caller to be passed to the hook consumer |
Reimplemented from Form.
Definition at line 98 of file SendReviewsForm.inc.php.
References _getDecisions(), EditorDecisionWithEmailForm\_sendReviewMailToAuthor(), EditorDecisionWithEmailForm\_updateReviewRoundStatus(), fatalError(), PKPApplication\get(), EditorDecisionForm\getDecision(), EditorDecisionForm\getReviewRound(), EditorDecisionForm\getStageId(), and EditorDecisionForm\getSubmission().
SendReviewsForm::fetch | ( | $request, | |
$template = null , |
|||
$display = false |
|||
) |
Returns a string of the rendered form
$request | PKPRequest |
$template | string the template to be rendered, mandatory if no template has been specified on class instantiation. |
$display | boolean |
Reimplemented from EditorDecisionWithEmailForm.
Definition at line 68 of file SendReviewsForm.inc.php.
References PKPTemplateManager\getManager(), and EditorDecisionForm\getSubmission().
SendReviewsForm::initData | ( | $actionLabels = array() | ) |
Initialize form data for a new form.
Reimplemented from EditorDecisionWithEmailForm.
Definition at line 50 of file SendReviewsForm.inc.php.
References _getDecisions(), PKPApplication\get(), and EditorDecisionForm\getStageId().
SendReviewsForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from EditorDecisionWithEmailForm.
Definition at line 60 of file SendReviewsForm.inc.php.
References Form\readUserVars().