Open Journal Systems  3.3.0
PKPEditorDecisionActionsManager Class Reference
Inheritance diagram for PKPEditorDecisionActionsManager:
EditorDecisionActionsManager

Public Member Functions

 getRecommendationOptions ($stageId)
 
 getStageDecisions ($context, $stageId, $makeDecision=true)
 
 getStageNotifications ()
 

Protected Member Functions

 _editorialStageDecisions ($makeDecision=true)
 
 _submissionStageDecisions ($stageId, $makeDecision=true)
 

Detailed Description

Wrapper class for create and assign editor decisions actions to template manager.

Definition at line 23 of file PKPEditorDecisionActionsManager.inc.php.

Member Function Documentation

◆ _editorialStageDecisions()

PKPEditorDecisionActionsManager::_editorialStageDecisions (   $makeDecision = true)
protected

Define and return editor decisions for the editorial stage. Currently it does not matter if the user cannot make decisions i.e. if it is a recommendOnly user for this stage.

Parameters
$makeDecisionboolean If the user cannot make decisions
Returns
array

Definition at line 115 of file PKPEditorDecisionActionsManager.inc.php.

Referenced by EditorDecisionActionsManager\getActionLabels(), and getStageDecisions().

◆ _submissionStageDecisions()

PKPEditorDecisionActionsManager::_submissionStageDecisions (   $stageId,
  $makeDecision = true 
)
protected

Define and return editor decisions for the submission stage. If the user cannot make decisions i.e. if it is a recommendOnly user, the user can only send the submission to the review stage, and neither acept nor decline the submission.

Parameters
$stageIdint WORKFLOW_STAGE_ID_...
$makeDecisionboolean If the user can make decisions
Returns
array

Definition at line 76 of file PKPEditorDecisionActionsManager.inc.php.

Referenced by EditorDecisionActionsManager\getActionLabels(), and getStageDecisions().

◆ getRecommendationOptions()

PKPEditorDecisionActionsManager::getRecommendationOptions (   $stageId)

Get an associative array matching editor recommendation codes with locale strings. (Includes default '' => "Choose One" string.)

Parameters
$stageIdinteger
Returns
array recommendation => localeString

Definition at line 57 of file PKPEditorDecisionActionsManager.inc.php.

◆ getStageDecisions()

PKPEditorDecisionActionsManager::getStageDecisions (   $context,
  $stageId,
  $makeDecision = true 
)

Get the available decisions by stage ID and user making decision permissions, if the user can make decisions or if it is recommendOnly user.

Parameters
$contextContext
$stageIdint WORKFLOW_STAGE_ID_...
$makeDecisionboolean If the user can make decisions

Definition at line 31 of file PKPEditorDecisionActionsManager.inc.php.

References _editorialStageDecisions(), _submissionStageDecisions(), and HookRegistry\call().

◆ getStageNotifications()

PKPEditorDecisionActionsManager::getStageNotifications ( )

Get the stage-level notification type constants.

Returns
array

Definition at line 130 of file PKPEditorDecisionActionsManager.inc.php.


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