|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct ($submission, $stageId, $reviewRound) | |
| execute (... $functionParams) | |
| fetch ($request, $template=null, $display=false) | |
| getReviewRound () | |
| getStageId () | |
| getSubmission () | |
| initData () | |
| readInputData () | |
Public Member Functions inherited from Form | |
| __construct ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null) | |
| _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 () | |
| isValid () | |
| readUserVars ($vars) | |
| setData ($key, $value=null) | |
| setDefaultFormLocale ($defaultLocale) | |
| setTemplate ($template) | |
| validate ($callHooks=true) | |
Data Fields | |
| $_reviewRound | |
| $_stageId | |
| $_submission | |
Data Fields inherited from Form | |
| $_checks | |
| $_data | |
| $_errors | |
| $_template | |
| $cssValidation | |
| $defaultLocale | |
| $errorFields | |
| $errorsArray | |
| $formSectionErrors | |
| $requiredLocale | |
| $supportedLocales | |
Editor recommendation form.
Definition at line 21 of file RecommendationForm.inc.php.
| RecommendationForm::__construct | ( | $submission, | |
| $stageId, | |||
| $reviewRound | |||
| ) |
Constructor.
| $submission | Submission |
| $stageId | integer |
| $reviewRound | ReviewRound |
Definition at line 46 of file RecommendationForm.inc.php.
References Form\addCheck().
| RecommendationForm::execute | ( | $functionParams | ) |
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 166 of file RecommendationForm.inc.php.
References PKPApplication\get(), Core\getCurrentDate(), DAORegistry\getDAO(), Form\getData(), getReviewRound(), getStageId(), and getSubmission().
| RecommendationForm::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 Form.
Definition at line 145 of file RecommendationForm.inc.php.
References PKPTemplateManager\getManager().
| RecommendationForm::getReviewRound | ( | ) |
Get the review round object.
Definition at line 80 of file RecommendationForm.inc.php.
References $_reviewRound.
Referenced by execute().
| RecommendationForm::getStageId | ( | ) |
Get the stage Id
Definition at line 72 of file RecommendationForm.inc.php.
References $_stageId.
Referenced by execute(), and initData().
| RecommendationForm::getSubmission | ( | ) |
Get the submission
Definition at line 64 of file RecommendationForm.inc.php.
References $_submission.
Referenced by execute(), and initData().
| RecommendationForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 90 of file RecommendationForm.inc.php.
References PKPApplication\get(), DAORegistry\getDAO(), getStageId(), getSubmission(), and Form\setData().
| RecommendationForm::readInputData | ( | ) |
Assign form data to user-submitted data. Can be overridden from subclasses.
Reimplemented from Form.
Definition at line 158 of file RecommendationForm.inc.php.
References Form\readUserVars().
| ReviewRound RecommendationForm::$_reviewRound |
Definition at line 38 of file RecommendationForm.inc.php.
Referenced by getReviewRound().
| integer RecommendationForm::$_stageId |
The stage ID where the recommendation is being made
Definition at line 32 of file RecommendationForm.inc.php.
Referenced by getStageId().
| Submission RecommendationForm::$_submission |
The submission associated with the editor recommendation
Definition at line 26 of file RecommendationForm.inc.php.
Referenced by getSubmission().