PHP Class PKPSubmissionHandler, pkp-lib

Inheritance: extends Handler
Afficher le fichier Open project: pkp/pkp-lib Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

Constructor
public __construct ( )

authorize() public méthode

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

getStepCount() abstract public méthode

Get the number of submission steps.
abstract public getStepCount ( ) : integer
Résultat integer

getStepsNumberAndLocaleKeys() abstract public méthode

Get the step numbers and their corresponding title locale keys.
abstract public getStepsNumberAndLocaleKeys ( ) : array
Résultat array

index() public méthode

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

saveStep() public méthode

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

setupTemplate() public méthode

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

step() public méthode

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

wizard() public méthode

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