Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ReviewerReviewForm Class Reference
Inheritance diagram for ReviewerReviewForm:
Form ReviewerReviewStep1Form ReviewerReviewStep2Form ReviewerReviewStep3Form

Public Member Functions

 fetch ($request)
 
 getReviewAssignment ()
 
 getReviewerSubmission ()
 
 getStep ()
 
 ReviewerReviewForm ($request, $reviewerSubmission, $reviewAssignment, $step)
 
 updateReviewStepAndSaveSubmission (&$reviewerSubmission)
 
- Public Member Functions inherited from Form
 _decomposeArray ($name, $value, $stack)
 
 addCheck ($formValidator)
 
 addError ($field, $message)
 
 addErrorField ($field)
 
 display ($request=null, $template=null)
 
 execute ($object=null)
 
 fetch ($request, $template=null, $display=false)
 
 Form ($template=null, $callHooks=true, $requiredLocale=null, $supportedLocales=null)
 
 getData ($key)
 
 getDefaultFormLocale ()
 
 getErrorsArray ()
 
 getFormLocale ()
 
 getLocaleFieldNames ()
 
 getRequiredLocale ()
 
 getTemplate ()
 
 initData ()
 
 isLocaleResubmit ()
 
 isValid ()
 
 readInputData ()
 
 readUserDateVars ($vars)
 
 readUserVars ($vars)
 
 setData ($key, $value)
 
 setTemplate ($template)
 
 smartyFormLanguageChooser ($params, &$smarty)
 
 validate ($callHooks=true)
 

Public Attributes

 $_reviewerSubmission
 
 $_step
 
 $request
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Base class for reviewer forms.

Definition at line 17 of file ReviewerReviewForm.inc.php.

Member Function Documentation

ReviewerReviewForm::fetch (   $request)
See Also
Form::fetch()

Definition at line 93 of file ReviewerReviewForm.inc.php.

References DAORegistry\getDAO(), and getStep().

ReviewerReviewForm::getReviewAssignment ( )
ReviewerReviewForm::getReviewerSubmission ( )
ReviewerReviewForm::getStep ( )

Get the review step.

Returns
integer

Definition at line 82 of file ReviewerReviewForm.inc.php.

Referenced by fetch().

ReviewerReviewForm::ReviewerReviewForm (   $request,
  $reviewerSubmission,
  $reviewAssignment,
  $step 
)

Constructor.

Parameters
$reviewerSubmissionReviewerSubmission
$stepinteger
$requestPKPRequest

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

References $_reviewerSubmission.

ReviewerReviewForm::updateReviewStepAndSaveSubmission ( $reviewerSubmission)

Set the review step of the submission to the given value if it is not already set to a higher value. Then update the given reviewer submission.

Parameters
$reviewerSubmissionReviewerSubmission

Definition at line 113 of file ReviewerReviewForm.inc.php.

Referenced by ReviewerReviewStep2Form\execute(), ReviewerReviewStep3Form\execute(), and ReviewerReviewStep1Form\execute().

Member Data Documentation

ReviewerSubmission ReviewerReviewForm::$_reviewerSubmission

current submission

Definition at line 23 of file ReviewerReviewForm.inc.php.

Referenced by ReviewerReviewForm().

int ReviewerReviewForm::$_step

the current step

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


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