Open Monograph Press  3.3.0
EditorDecisionActionsManager Class Reference
Inheritance diagram for EditorDecisionActionsManager:
PKPEditorDecisionActionsManager

Public Member Functions

 getActionLabels ($request, $stageId, $decisions)
 
 getEditorTakenActionInReviewRound ($context, $reviewRound, $decisions=array())
 
 getRecommendationOptions ($stageId)
 
 getStageDecisions ($request, $stageId, $makeDecision=true)
 
 getStageNotifications ()
 

Protected Member Functions

 _externalReviewStageDecisions ($request, $makeDecision=true)
 
 _internalReviewStageDecisions ($makeDecision=true)
 
 _submissionStageDecisions ($stageId, $makeDecision=true)
 
- Protected Member Functions inherited from PKPEditorDecisionActionsManager
 _editorialStageDecisions ($makeDecision=true)
 

Detailed Description

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

Definition at line 38 of file EditorDecisionActionsManager.inc.php.

Member Function Documentation

◆ _externalReviewStageDecisions()

EditorDecisionActionsManager::_externalReviewStageDecisions (   $request,
  $makeDecision = true 
)
protected

Define and return editor decisions for the review stage. If the user cannot make decisions i.e. if it is a recommendOnly user, there will be no decisions options in the review stage.

Parameters
$requestPKPRequest
$makeDecisionboolean If the user can make decisions
Returns
array

Definition at line 186 of file EditorDecisionActionsManager.inc.php.

References _internalReviewStageDecisions().

Referenced by getActionLabels().

◆ _internalReviewStageDecisions()

EditorDecisionActionsManager::_internalReviewStageDecisions (   $makeDecision = true)
protected

Define and return editor decisions for the review stage. If the user cannot make decisions i.e. if it is a recommendOnly user, there will be no decisions options in the review stage.

Parameters
$makeDecisionboolean If the user can make decisions
Returns
array

Definition at line 139 of file EditorDecisionActionsManager.inc.php.

Referenced by _externalReviewStageDecisions(), getActionLabels(), getEditorTakenActionInReviewRound(), and getStageDecisions().

◆ _submissionStageDecisions()

EditorDecisionActionsManager::_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

Reimplemented from PKPEditorDecisionActionsManager.

Definition at line 122 of file EditorDecisionActionsManager.inc.php.

Referenced by getActionLabels().

◆ getActionLabels()

EditorDecisionActionsManager::getActionLabels (   $request,
  $stageId,
  $decisions 
)

Get decision actions labels.

Parameters
$requestPKPRequest
$stageIdint
$decisionsarray
Returns
array

Definition at line 47 of file EditorDecisionActionsManager.inc.php.

References PKPEditorDecisionActionsManager\_editorialStageDecisions(), _externalReviewStageDecisions(), _internalReviewStageDecisions(), and _submissionStageDecisions().

◆ getEditorTakenActionInReviewRound()

EditorDecisionActionsManager::getEditorTakenActionInReviewRound (   $context,
  $reviewRound,
  $decisions = array() 
)

Check for editor decisions in the review round.

Parameters
$contextContext
$reviewRoundReviewRound
$decisionsarray
Returns
boolean

Definition at line 73 of file EditorDecisionActionsManager.inc.php.

References _internalReviewStageDecisions(), and DAORegistry\getDAO().

◆ getRecommendationOptions()

EditorDecisionActionsManager::getRecommendationOptions (   $stageId)

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

Parameters
$stageIdinteger
Returns
array recommendation => localeString

Reimplemented from PKPEditorDecisionActionsManager.

Definition at line 108 of file EditorDecisionActionsManager.inc.php.

◆ getStageDecisions()

EditorDecisionActionsManager::getStageDecisions (   $request,
  $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

Reimplemented from PKPEditorDecisionActionsManager.

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

References _internalReviewStageDecisions().

◆ getStageNotifications()

EditorDecisionActionsManager::getStageNotifications ( )

Get the stage-level notification type constants.

Returns
array
array

Reimplemented from PKPEditorDecisionActionsManager.

Definition at line 196 of file EditorDecisionActionsManager.inc.php.


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