Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($submission, $reviewRound) | |
execute (... $functionArgs) | |
fetch ($request, $template=null, $display=false) | |
readInputData () | |
Public Member Functions inherited from ReviewerForm | |
_getMailTemplateKey ($context) | |
_isValidReviewer ($context, $submission, $reviewRound, $reviewerId) | |
getAdvancedSearchAction ($request) | |
getReviewerFormActions () | |
getReviewRound () | |
getSubmission () | |
getSubmissionId () | |
getUserRoles () | |
initData () | |
setReviewerFormAction ($action) | |
setReviewRound ($reviewRound) | |
setSubmission ($submission) | |
setUserRoles ($userRoles) | |
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) | |
Additional Inherited Members | |
Data Fields inherited from ReviewerForm | |
$_reviewerFormActions | |
$_reviewRound | |
$_submission | |
$_userRoles | |
Data Fields inherited from Form | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
Form for creating and subsequently adding a reviewer to a submission.
Definition at line 18 of file CreateReviewerForm.inc.php.
CreateReviewerForm::__construct | ( | $submission, | |
$reviewRound | |||
) |
Constructor.
$submission | Submission |
$reviewRound | ReviewRound |
Reimplemented from ReviewerForm.
Definition at line 24 of file CreateReviewerForm.inc.php.
References Form\addCheck(), Form\addSupportedFormLocale(), PKPApplication\get(), DAORegistry\getDAO(), and Form\setTemplate().
CreateReviewerForm::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 ReviewerForm.
Definition at line 86 of file CreateReviewerForm.inc.php.
References Validation\encryptCredentials(), Validation\generatePassword(), PKPApplication\get(), Core\getCurrentDate(), DAORegistry\getDAO(), Form\getData(), and Form\setData().
CreateReviewerForm::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 ReviewerForm.
Definition at line 55 of file CreateReviewerForm.inc.php.
References ReviewerForm\getAdvancedSearchAction(), PKPTemplateManager\getManager(), and ReviewerForm\setReviewerFormAction().
CreateReviewerForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from ReviewerForm.
Definition at line 68 of file CreateReviewerForm.inc.php.
References Form\readUserVars().