PHP 클래스 PKPSubmissionHandler, pkp-lib

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

공개 메소드들

메소드 설명
__construct ( ) Constructor
authorize ( $request, &$args, $roleAssignments )
getStepCount ( ) : integer Get the number of submission steps.
getStepsNumberAndLocaleKeys ( ) : array Get the step numbers and their corresponding title locale keys.
index ( $args, $request ) Redirect to the new submission wizard by default.
saveStep ( $args, $request ) : JSONMessage Save a submission step.
setupTemplate ( $request ) Setup common template variables.
step ( $args, $request ) : JSONMessage Display a step for the submission wizard.
wizard ( $args, $request ) Display the tab set for the submission wizard.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

authorize() 공개 메소드

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

getStepCount() 추상적인 공개 메소드

Get the number of submission steps.
abstract public getStepCount ( ) : integer
리턴 integer

getStepsNumberAndLocaleKeys() 추상적인 공개 메소드

Get the step numbers and their corresponding title locale keys.
abstract public getStepsNumberAndLocaleKeys ( ) : array
리턴 array

index() 공개 메소드

Redirect to the new submission wizard by default.
public index ( $args, $request )
$args array
$request Request

saveStep() 공개 메소드

Save a submission step.
public saveStep ( $args, $request ) : JSONMessage
$args array first parameter is the step being saved
$request Request
리턴 JSONMessage JSON object

setupTemplate() 공개 메소드

Setup common template variables.
public setupTemplate ( $request )
$request Request

step() 공개 메소드

Displays submission index page if a valid step is not specified.
public step ( $args, $request ) : JSONMessage
$args array
$request Request
리턴 JSONMessage JSON object

wizard() 공개 메소드

Display the tab set for the submission wizard.
public wizard ( $args, $request )
$args array
$request PKPRequest