PHP Class EditorAction, pkp-lib

Inheritance: extends Action
Datei anzeigen Open project: pkp/pkp-lib Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addReviewer ( $request, $submission, $reviewerId, &$reviewRound, $reviewDueDate = null, $responseDueDate = null, $reviewMethod = null ) Assigns a reviewer to a submission.
clearReview ( $request, $submissionId, $reviewId ) Clears a review assignment from a submission.
incrementWorkflowStage ( $submission, $newStage, $request ) Increment a submission's workflow stage.
recordDecision ( $request, $submission, $decision, $decisionLabels, $reviewRound = null, $stageId = null ) Records an editor's submission decision.
setDueDates ( $request, $submission, $reviewAssignment, $reviewDueDate = null, $responseDueDate = null, $logEntry = false ) Sets the due date for a review assignment.

Method Details

__construct() public method

Constructor.
public __construct ( )

addReviewer() public method

Assigns a reviewer to a submission.
public addReviewer ( $request, $submission, $reviewerId, &$reviewRound, $reviewDueDate = null, $responseDueDate = null, $reviewMethod = null )
$request PKPRequest
$submission object
$reviewerId int
$reviewRound ReviewRound
$reviewDueDate datetime optional
$responseDueDate datetime optional

clearReview() public method

Clears a review assignment from a submission.
public clearReview ( $request, $submissionId, $reviewId )
$request PKPRequest
$reviewId int

incrementWorkflowStage() public method

Increment a submission's workflow stage.
public incrementWorkflowStage ( $submission, $newStage, $request )
$submission Submission
$newStage integer One of the WORKFLOW_STAGE_* constants.
$request Request

recordDecision() public method

Records an editor's submission decision.
public recordDecision ( $request, $submission, $decision, $decisionLabels, $reviewRound = null, $stageId = null )
$request PKPRequest
$submission Submission
$decision integer
$decisionLabels array(DECISION_CONSTANT => decision.locale.key, ...)
$reviewRound ReviewRound Current review round that user is taking the decision, if any.
$stageId int

setDueDates() public method

Sets the due date for a review assignment.
public setDueDates ( $request, $submission, $reviewAssignment, $reviewDueDate = null, $responseDueDate = null, $logEntry = false )
$request PKPRequest
$submission Submission
$logEntry boolean