PHP Class ReviewerReviewForm, pkp-lib

Inheritance: extends Form
Mostra file Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_reviewAssignment ReviewAssignment
$_reviewerSubmission current submission
$_step the current step
$request the request object

Public Methods

Method Description
__construct ( $request, $reviewerSubmission, $reviewAssignment, $step ) Constructor.
fetch ( $request )
getReviewAssignment ( ) : ReviewAssignment Get the review assignment.
getReviewerSubmission ( ) : ReviewerSubmission Get the reviewer submission.
getStep ( ) : integer Get the review step.
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.

Method Details

__construct() public method

Constructor.
public __construct ( $request, $reviewerSubmission, $reviewAssignment, $step )
$request PKPRequest
$reviewerSubmission ReviewerSubmission
$step integer

fetch() public method

See also: Form::fetch()
public fetch ( $request )

getReviewAssignment() public method

Get the review assignment.
public getReviewAssignment ( ) : ReviewAssignment
return ReviewAssignment

getReviewerSubmission() public method

Get the reviewer submission.
public getReviewerSubmission ( ) : ReviewerSubmission
return ReviewerSubmission

getStep() public method

Get the review step.
public getStep ( ) : integer
return integer

updateReviewStepAndSaveSubmission() public method

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.
public updateReviewStepAndSaveSubmission ( &$reviewerSubmission )
$reviewerSubmission ReviewerSubmission

Property Details

$_reviewAssignment public_oe property

public ReviewAssignment $_reviewAssignment
return ReviewAssignment

$_reviewerSubmission public_oe property

current submission
public $_reviewerSubmission

$_step public_oe property

the current step
public $_step

$request public_oe property

the request object
public $request