Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
UnassignReviewerForm Class Reference
Inheritance diagram for UnassignReviewerForm:
Form

Public Member Functions

 execute ($args, $request)
 
 getReviewAssignment ()
 
 getReviewRound ()
 
 getSubmission ()
 
 initData ($args, $request)
 
 readInputData ()
 
 setReviewAssignment ($reviewAssignment)
 
 setReviewRound ($reviewRound)
 
 setSubmission ($submission)
 
 UnassignReviewerForm ($reviewAssignment, $reviewRound, $submission)
 
- 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

 $_reviewAssignment
 
 $_reviewRound
 
 $_submission
 
- Public Attributes inherited from Form
 $_checks
 
 $_data
 
 $_errors
 
 $_template
 
 $cssValidation
 
 $errorFields
 
 $errorsArray
 
 $formSectionErrors
 
 $requiredLocale
 
 $supportedLocales
 

Detailed Description

Allow the editor to remove a review assignment.

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

Member Function Documentation

UnassignReviewerForm::execute (   $args,
  $request 
)

Deletes the review assignment and notifies the reviewer via email

Parameters
mixed$args
$requestPKPRequest
Returns
bool whether or not the review assignment was deleted successfully

Definition at line 87 of file UnassignReviewerForm.inc.php.

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

UnassignReviewerForm::getReviewAssignment ( )

Get the ReviewAssignment

Returns
ReviewAssignment

Definition at line 146 of file UnassignReviewerForm.inc.php.

References $_reviewAssignment.

Referenced by execute(), and initData().

UnassignReviewerForm::getReviewRound ( )

Get the ReviewRound

Returns
ReviewRound

Definition at line 164 of file UnassignReviewerForm.inc.php.

References $_reviewRound.

Referenced by initData().

UnassignReviewerForm::getSubmission ( )

Get the submission

Returns
Submission

Definition at line 180 of file UnassignReviewerForm.inc.php.

References $_submission.

Referenced by execute(), and initData().

UnassignReviewerForm::initData (   $args,
  $request 
)

Initialize form data

Parameters
$argsarray
$requestPKPRequest

Definition at line 50 of file UnassignReviewerForm.inc.php.

References DAORegistry\getDAO(), getReviewAssignment(), getReviewRound(), getSubmission(), and Form\setData().

UnassignReviewerForm::readInputData ( )

Assign form data to user-submitted data.

See Also
Form::readInputData()

Definition at line 117 of file UnassignReviewerForm.inc.php.

References Form\readUserVars().

UnassignReviewerForm::setReviewAssignment (   $reviewAssignment)

Set the ReviewAssignment

Parameters
mixed$reviewAssignmentReviewAssignment

Definition at line 137 of file UnassignReviewerForm.inc.php.

Referenced by UnassignReviewerForm().

UnassignReviewerForm::setReviewRound (   $reviewRound)

Set the ReviewRound

Parameters
mixed$reviewRoundReviewRound

Definition at line 155 of file UnassignReviewerForm.inc.php.

Referenced by UnassignReviewerForm().

UnassignReviewerForm::setSubmission (   $submission)

Set the submission

Parameters
$submissionSubmission

Definition at line 172 of file UnassignReviewerForm.inc.php.

Referenced by UnassignReviewerForm().

UnassignReviewerForm::UnassignReviewerForm (   $reviewAssignment,
  $reviewRound,
  $submission 
)

Constructor

Parameters
mixed$reviewAssignmentReviewAssignment
mixed$reviewRoundReviewRound
mixed$submissionSubmission

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

References setReviewAssignment(), setReviewRound(), and setSubmission().

Member Data Documentation

UnassignReviewerForm::$_reviewAssignment

The review assignment to delete

Definition at line 19 of file UnassignReviewerForm.inc.php.

Referenced by getReviewAssignment().

UnassignReviewerForm::$_reviewRound

The review round associated with the review assignment

Definition at line 25 of file UnassignReviewerForm.inc.php.

Referenced by getReviewRound().

UnassignReviewerForm::$_submission

The submission associated with the review assignment

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

Referenced by getSubmission().


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