Public Member Functions

WorkflowHandler Class Reference
[Pages_reviewer]

Handle requests for the submssion workflow. More...

Inheritance diagram for WorkflowHandler:
Handler

List of all members.

Public Member Functions

 _identifyStageId (&$request)
 _notificationOptionsByStage (&$user, $stageId, $contextId)
 _review ($args, &$request)
 access ($args, &$request)
 authorize (&$request, $args, $roleAssignments)
 editorDecisionActions ($args, &$request)
 editorial (&$args, &$request)
 externalReview ($args, &$request)
 initialize (&$request, $args)
 internalReview ($args, &$request)
 production (&$args, &$request)
 productionFormatsTab (&$args, &$request)
 setupTemplate (&$request)
 submission ($args, &$request)
 submissionProgressBar ($args, &$request)
 WorkflowHandler ()

Detailed Description

Handle requests for the submssion workflow.

Definition at line 25 of file WorkflowHandler.inc.php.


Member Function Documentation

WorkflowHandler._identifyStageId ( &$  request  ) 

Translate the requested operation to a stage id.

Parameters:
$request Request
Returns:
integer One of the WORKFLOW_STAGE_* constants.

Definition at line 505 of file WorkflowHandler.inc.php.

Referenced by authorize().

WorkflowHandler._notificationOptionsByStage ( &$  user,
stageId,
contextId 
)

Determine if a particular stage has a notification pending. If so, return true. This is used to set the CSS class of the submission progress bar.

Parameters:
PKPUser $user
int $stageId

Definition at line 395 of file WorkflowHandler.inc.php.

Referenced by submissionProgressBar().

WorkflowHandler._review ( args,
&$  request 
)

Internal function to handle both internal and external reviews

Parameters:
$request PKPRequest
$args array

Definition at line 448 of file WorkflowHandler.inc.php.

Referenced by externalReview(), and internalReview().

WorkflowHandler.access ( args,
&$  request 
)

Redirect users to their most appropriate monograph workflow stage.

Definition at line 157 of file WorkflowHandler.inc.php.

WorkflowHandler.authorize ( &$  request,
args,
roleAssignments 
)
See also:
PKPHandler.authorize()

Definition at line 53 of file WorkflowHandler.inc.php.

References _identifyStageId().

WorkflowHandler.editorDecisionActions ( args,
&$  request 
)

Fetch JSON-encoded editor decision options.

Parameters:
$args array
$request Request

Definition at line 283 of file WorkflowHandler.inc.php.

References EditorDecisionActionsManager.getStageDecisions().

WorkflowHandler.editorial ( &$  args,
&$  request 
)

Show the editorial stage

Parameters:
$request PKPRequest
$args array

Definition at line 230 of file WorkflowHandler.inc.php.

WorkflowHandler.externalReview ( args,
&$  request 
)

Show the external review stage.

Parameters:
$args array
$request PKPRequest

Definition at line 218 of file WorkflowHandler.inc.php.

References _review().

WorkflowHandler.initialize ( &$  request,
args 
)
See also:
PKPHandler.initialize()

Definition at line 78 of file WorkflowHandler.inc.php.

References setupTemplate().

WorkflowHandler.internalReview ( args,
&$  request 
)

Show the internal review stage.

Parameters:
$args array
$request PKPRequest

Definition at line 206 of file WorkflowHandler.inc.php.

References _review().

WorkflowHandler.production ( &$  args,
&$  request 
)

Show the production stage

Parameters:
$request PKPRequest
$args array

Definition at line 241 of file WorkflowHandler.inc.php.

WorkflowHandler.productionFormatsTab ( &$  args,
&$  request 
)

Show the production stage accordion contents

Parameters:
$request PKPRequest
$args array

Definition at line 266 of file WorkflowHandler.inc.php.

WorkflowHandler.setupTemplate ( &$  request  ) 

Setup variables for the template

Parameters:
$request Request

Definition at line 94 of file WorkflowHandler.inc.php.

Referenced by initialize().

WorkflowHandler.submission ( args,
&$  request 
)

Show the submission stage.

Parameters:
$args array
$request PKPRequest

Definition at line 195 of file WorkflowHandler.inc.php.

WorkflowHandler.submissionProgressBar ( args,
&$  request 
)

Fetch the JSON-encoded submission progress bar.

Parameters:
$args array
$request Request

Definition at line 348 of file WorkflowHandler.inc.php.

References _notificationOptionsByStage().

WorkflowHandler.WorkflowHandler (  ) 

Constructor

Definition at line 29 of file WorkflowHandler.inc.php.


The documentation for this class was generated from the following file: