Open Journal Systems  3.3.0
ReviewerGossipForm Class Reference
Inheritance diagram for ReviewerGossipForm:
Form

Public Member Functions

 __construct ($user, $requestArgs)
 
 execute (... $functionArgs)
 
 fetch ($request, $template=null, $display=false)
 
 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 ()
 
 initData ()
 
 isValid ()
 
 readUserVars ($vars)
 
 setData ($key, $value=null)
 
 setDefaultFormLocale ($defaultLocale)
 
 setTemplate ($template)
 
 validate ($callHooks=true)
 

Data Fields

 $_requestArgs
 
 $_user
 
- Data Fields inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $defaultLocale
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Form for viewing and editing gossip about a reviewer.

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

Constructor & Destructor Documentation

◆ __construct()

ReviewerGossipForm::__construct (   $user,
  $requestArgs 
)

Constructor.

Parameters
$userUser The user to gossip about
$requestArgsarray Arguments used to route the form op to the correct submission, stage and review round

Definition at line 38 of file ReviewerGossipForm.inc.php.

References Form\addCheck().

Member Function Documentation

◆ execute()

ReviewerGossipForm::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 Form.

Definition at line 71 of file ReviewerGossipForm.inc.php.

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

◆ fetch()

ReviewerGossipForm::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 Form.

Definition at line 58 of file ReviewerGossipForm.inc.php.

References PKPTemplateManager\getManager().

◆ readInputData()

ReviewerGossipForm::readInputData ( )

Assign form data to user-submitted data. Can be overridden from subclasses.

Reimplemented from Form.

Definition at line 49 of file ReviewerGossipForm.inc.php.

References Form\readUserVars().

Field Documentation

◆ $_requestArgs

array ReviewerGossipForm::$_requestArgs

Arguments used to route the form op

Definition at line 30 of file ReviewerGossipForm.inc.php.

◆ $_user

User ReviewerGossipForm::$_user

The user to gossip about

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


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