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

Public Member Functions

 __construct ($submission, $reviewRound)
 
 fetch ($request, $template=null, $display=false)
 
 readInputData ()
 
- Public Member Functions inherited from ReviewerForm
 _getMailTemplateKey ($context)
 
 _isValidReviewer ($context, $submission, $reviewRound, $reviewerId)
 
 execute (... $functionParams)
 
 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 an advanced search and for adding a reviewer to a submission.

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

Constructor & Destructor Documentation

◆ __construct()

AdvancedSearchReviewerForm::__construct (   $submission,
  $reviewRound 
)

Constructor.

Parameters
$submissionSubmission
$reviewRoundReviewRound

Reimplemented from ReviewerForm.

Definition at line 24 of file AdvancedSearchReviewerForm.inc.php.

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

Member Function Documentation

◆ fetch()

AdvancedSearchReviewerForm::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 44 of file AdvancedSearchReviewerForm.inc.php.

References PKPServices\get(), DAORegistry\getDAO(), PKPTemplateManager\getManager(), ReviewerForm\getReviewRound(), ReviewerForm\getSubmission(), ReviewerForm\getSubmissionId(), ReviewerForm\getUserRoles(), and ReviewerForm\setReviewerFormAction().

◆ readInputData()

AdvancedSearchReviewerForm::readInputData ( )

Assign form data to user-submitted data.

See also
Form::readInputData()

Reimplemented from ReviewerForm.

Definition at line 35 of file AdvancedSearchReviewerForm.inc.php.

References Form\readUserVars().


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