PHP 클래스 PKPWorkflowHandler, pkp-lib

상속: extends Handler
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor
access ( $args, $request ) Redirect users to their most appropriate submission workflow stage.
authorize ( $request, &$args, $roleAssignments )
editorDecisionActions ( $args, $request ) : JSONMessage Fetch JSON-encoded editor decision options.
editorial ( &$args, $request ) Show the editorial stage
externalReview ( $args, $request ) Show the external review stage.
index ( $args, $request ) Show the workflow stage, with the stage path as an #anchor.
initialize ( $request, $args )
production ( &$args, $request ) Show the production stage
setupTemplate ( $request ) Setup variables for the template
submission ( $args, $request ) Show the submission stage.
submissionHeader ( $args, $request ) : JSONMessage Fetch the JSON-encoded submission header.
submissionProgressBar ( $args, $request ) : JSONMessage Fetch the JSON-encoded submission progress bar.

보호된 메소드들

메소드 설명
_redirectToIndex ( &$args, $request ) Redirect all old stage paths to index
getEditorAssignmentNotificationTypeByStageId ( $stageId ) : integer Return the editor assignment notification type based on stage id.
identifyStageId ( $request, $args ) : integer Translate the requested operation to a stage id.
isSubmissionReady ( $submission ) : boolean Checks whether or not the submission is ready to appear in catalog.
notificationOptionsByStage ( $user, $stageId, $contextId ) : boolean Determine if a particular stage has a notification pending. If so, return true.

비공개 메소드들

메소드 설명
_displayWorkflow ( $args, $request ) Displays the workflow tab structure.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

_redirectToIndex() 보호된 메소드

Redirect all old stage paths to index
protected _redirectToIndex ( &$args, $request )
$args array
$request PKPRequest

access() 공개 메소드

Redirect users to their most appropriate submission workflow stage.
public access ( $args, $request )
$args array
$request PKPRequest

authorize() 공개 메소드

public authorize ( $request, &$args, $roleAssignments )

editorDecisionActions() 공개 메소드

Fetch JSON-encoded editor decision options.
public editorDecisionActions ( $args, $request ) : JSONMessage
$args array
$request Request
리턴 JSONMessage JSON object

editorial() 공개 메소드

Show the editorial stage
public editorial ( &$args, $request )
$args array
$request PKPRequest

externalReview() 공개 메소드

Show the external review stage.
public externalReview ( $args, $request )
$args array
$request PKPRequest

getEditorAssignmentNotificationTypeByStageId() 추상적인 보호된 메소드

Return the editor assignment notification type based on stage id.
abstract protected getEditorAssignmentNotificationTypeByStageId ( $stageId ) : integer
$stageId int
리턴 integer

identifyStageId() 보호된 메소드

Translate the requested operation to a stage id.
protected identifyStageId ( $request, $args ) : integer
$request Request
$args array
리턴 integer One of the WORKFLOW_STAGE_* constants.

index() 공개 메소드

Show the workflow stage, with the stage path as an #anchor.
public index ( $args, $request )
$args array
$request PKPRequest

initialize() 공개 메소드

public initialize ( $request, $args )

isSubmissionReady() 추상적인 보호된 메소드

Checks whether or not the submission is ready to appear in catalog.
abstract protected isSubmissionReady ( $submission ) : boolean
$submission Submission
리턴 boolean

notificationOptionsByStage() 보호된 메소드

This is used to set the CSS class of the submission progress bar.
protected notificationOptionsByStage ( $user, $stageId, $contextId ) : boolean
$user PKPUser
$stageId integer
$contextId integer
리턴 boolean

production() 공개 메소드

Show the production stage
public production ( &$args, $request )
$args array
$request PKPRequest

setupTemplate() 공개 메소드

Setup variables for the template
public setupTemplate ( $request )
$request Request

submission() 공개 메소드

Show the submission stage.
public submission ( $args, $request )
$args array
$request PKPRequest

submissionHeader() 공개 메소드

Fetch the JSON-encoded submission header.
public submissionHeader ( $args, $request ) : JSONMessage
$args array
$request Request
리턴 JSONMessage JSON object

submissionProgressBar() 공개 메소드

Fetch the JSON-encoded submission progress bar.
public submissionProgressBar ( $args, $request ) : JSONMessage
$args array
$request Request
리턴 JSONMessage JSON object