Open Journal Systems  3.3.0
UserAccessibleWorkflowStagePolicy Class Reference
Inheritance diagram for UserAccessibleWorkflowStagePolicy:
AuthorizationPolicy

Public Member Functions

 __construct ($stageId, $workflowType=null)
 
 effect ()
 
- Public Member Functions inherited from AuthorizationPolicy
 __construct ($message=null)
 
 addAuthorizedContextObject ($assocType, &$authorizedObject)
 
 applies ()
 
getAdvice ($adviceType)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
 hasAdvice ($adviceType)
 
 hasAuthorizedContextObject ($assocType)
 
 setAdvice ($adviceType, &$adviceContent)
 
 setAuthorizedContext (&$authorizedContext)
 

Data Fields

 $_stageId
 
 $_workflowType
 
- Data Fields inherited from AuthorizationPolicy
 $_advice = array()
 
 $_authorizedContext = array()
 

Detailed Description

Class to control access to a.

Definition at line 18 of file UserAccessibleWorkflowStagePolicy.inc.php.

Constructor & Destructor Documentation

◆ __construct()

UserAccessibleWorkflowStagePolicy::__construct (   $stageId,
  $workflowType = null 
)

Constructor

Parameters
$stageIdThe one that will be checked against accessible user workflow stages.
$workflowTypestring Which workflow the stage access must be granted for. One of WORKFLOW_TYPE_*.

Definition at line 39 of file UserAccessibleWorkflowStagePolicy.inc.php.

References AppLocale\requireComponents().

Member Function Documentation

◆ effect()

UserAccessibleWorkflowStagePolicy::effect ( )

Field Documentation

◆ $_stageId

int UserAccessibleWorkflowStagePolicy::$_stageId

Definition at line 24 of file UserAccessibleWorkflowStagePolicy.inc.php.

◆ $_workflowType

string UserAccessibleWorkflowStagePolicy::$_workflowType

Workflow type. One of WORKFLOW_TYPE_... *

Definition at line 30 of file UserAccessibleWorkflowStagePolicy.inc.php.


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