Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($reviewAssignment) | |
_getMailTemplateKey ($context) | |
execute (... $functionArgs) | |
fetch ($request, $template=null, $display=false) | |
getReviewAssignment () | |
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 | |
$_reviewAssignment | |
Data Fields inherited from Form | |
$_checks | |
$_data | |
$_errors | |
$_template | |
$cssValidation | |
$defaultLocale | |
$errorFields | |
$errorsArray | |
$formSectionErrors | |
$requiredLocale | |
$supportedLocales | |
Form for sending a review reminder to a reviewer.
Definition at line 18 of file ReviewReminderForm.inc.php.
ReviewReminderForm::__construct | ( | $reviewAssignment | ) |
Constructor.
Definition at line 25 of file ReviewReminderForm.inc.php.
References Form\addCheck(), and AppLocale\requireComponents().
ReviewReminderForm::_getMailTemplateKey | ( | $context | ) |
Get the email template key depending on if reviewer one click access is enabled or not.
$context | Context The user's current context. |
Definition at line 190 of file ReviewReminderForm.inc.php.
Referenced by execute(), and initData().
ReviewReminderForm::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 132 of file ReviewReminderForm.inc.php.
References _getMailTemplateKey(), Validation\generatePasswordResetHash(), PKPApplication\get(), Core\getCurrentDate(), DAORegistry\getDAO(), Form\getData(), and getReviewAssignment().
ReviewReminderForm::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 101 of file ReviewReminderForm.inc.php.
References PKPTemplateManager\getManager().
ReviewReminderForm::getReviewAssignment | ( | ) |
Get the review assignment
Definition at line 42 of file ReviewReminderForm.inc.php.
References $_reviewAssignment.
Referenced by execute(), and initData().
ReviewReminderForm::initData | ( | ) |
Initialize form data for a new form.
Reimplemented from Form.
Definition at line 53 of file ReviewReminderForm.inc.php.
References _getMailTemplateKey(), Validation\generatePasswordResetHash(), PKPApplication\get(), DAORegistry\getDAO(), getReviewAssignment(), and Form\setData().
ReviewReminderForm::readInputData | ( | ) |
Assign form data to user-submitted data.
Reimplemented from Form.
Definition at line 122 of file ReviewReminderForm.inc.php.
References Form\readUserVars().
ReviewReminderForm::$_reviewAssignment |
The review assignment associated with the reviewer
Definition at line 20 of file ReviewReminderForm.inc.php.
Referenced by getReviewAssignment().