Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
WorkflowHandler Class Reference

Inherits PKPWorkflowHandler.

Public Member Functions

 _notificationOptionsByStage ($user, $stageId, $contextId)
 
 expedite ($args, $request)
 
 internalReview ($args, $request)
 
 production (&$args, $request)
 
 productionFormatsTab (&$args, $request)
 
 submissionProgressBar ($args, $request)
 
 WorkflowHandler ()
 
- Public Member Functions inherited from PKPWorkflowHandler
 access ($args, $request)
 
 authorize ($request, &$args, $roleAssignments)
 
 editorDecisionActions ($args, $request)
 
 editorial (&$args, $request)
 
 expedite ($args, $request)
 
 externalReview ($args, $request)
 
 initialize ($request, $args)
 
 PKPWorkflowHandler ()
 
 setupTemplate ($request)
 
 submission ($args, $request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Protected Member Functions

 _getEditorAssignmentNotificationTypeByStageId ($stageId)
 
- Protected Member Functions inherited from PKPWorkflowHandler
 _getSignoffNotificationTypeByStageId ($stageId)
 
 _identifyStageId ($request)
 
 _review ($args, $request)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle requests for the submssion workflow.

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

Member Function Documentation

WorkflowHandler::_getEditorAssignmentNotificationTypeByStageId (   $stageId)
protected

Return the editor assignment notification type based on stage id.

Parameters
$stageIdint
Returns
int

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

Referenced by _notificationOptionsByStage().

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
$userPKPUser
$stageIdint
$contextIdint

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

References _getEditorAssignmentNotificationTypeByStageId(), PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().

Referenced by submissionProgressBar().

WorkflowHandler::expedite (   $args,
  $request 
)

Expedites a submission through the submission process, if the submitter is a manager or editor.

Parameters
$argsarray
$requestPKPRequest

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

References PKPHandler\getAuthorizedContextObject(), DAORegistry\getDAO(), JSONMessage\getString(), and CatalogEntrySubmissionReviewForm\readInputData().

WorkflowHandler::internalReview (   $args,
  $request 
)

Show the internal review stage.

Parameters
$argsarray
$requestPKPRequest

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

WorkflowHandler::production ( $args,
  $request 
)

Show the production stage

Parameters
$requestPKPRequest
$argsarray

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

References PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().

WorkflowHandler::productionFormatsTab ( $args,
  $request 
)

Show the production stage accordion contents

Parameters
$requestPKPRequest
$argsarray

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

References PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().

WorkflowHandler::submissionProgressBar (   $args,
  $request 
)

Fetch the JSON-encoded submission progress bar.

Parameters
$argsarray
$requestRequest

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

References _notificationOptionsByStage(), PKPHandler\getAuthorizedContextObject(), and DAORegistry\getDAO().

WorkflowHandler::WorkflowHandler ( )

Constructor

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

References PKPHandler\addRoleAssignment().


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