PHP Класс EditorAction, pkp-lib

Наследование: extends Action
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( )

addReviewer() публичный Метод

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() публичный Метод

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

incrementWorkflowStage() публичный Метод

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

recordDecision() публичный Метод

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() публичный Метод

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