Open Journal Systems  3.3.0
EnrollExistingReviewerForm Class Reference
Inheritance diagram for EnrollExistingReviewerForm:
ReviewerForm Form

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
 

Detailed Description

Form for enrolling an existing reviewer and adding them to a submission.

Definition at line 18 of file EnrollExistingReviewerForm.inc.php.

Constructor & Destructor Documentation

◆ __construct()

EnrollExistingReviewerForm::__construct (   $submission,
  $reviewRound 
)

Constructor.

Reimplemented from ReviewerForm.

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

References Form\addCheck(), and Form\setTemplate().

Member Function Documentation

◆ execute()

EnrollExistingReviewerForm::execute (   $functionArgs)

Execute the form's action. (Note that it is assumed that the form has already been validated.)

Parameters
mixed$functionArgs,...Arguments from the caller to be passed to the hook consumer
Returns
mixed Result from the consumer to be passed to the caller. Send a true-ish result if you want the caller to do something with the return value.

Reimplemented from ReviewerForm.

Definition at line 53 of file EnrollExistingReviewerForm.inc.php.

References DAORegistry\getDAO(), Form\getData(), and Form\setData().

◆ fetch()

EnrollExistingReviewerForm::fetch (   $request,
  $template = null,
  $display = false 
)

Returns a string of the rendered form

Parameters
$requestPKPRequest
$templatestring the template to be rendered, mandatory if no template has been specified on class instantiation.
$displayboolean
Returns
string the rendered form

Reimplemented from ReviewerForm.

Definition at line 33 of file EnrollExistingReviewerForm.inc.php.

References ReviewerForm\getAdvancedSearchAction(), and ReviewerForm\setReviewerFormAction().

◆ readInputData()

EnrollExistingReviewerForm::readInputData ( )

Assign form data to user-submitted data.

See also
Form::readInputData()

Reimplemented from ReviewerForm.

Definition at line 44 of file EnrollExistingReviewerForm.inc.php.

References Form\readUserVars().


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