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

Public Member Functions

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

Data Fields

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

Detailed Description

Policy that ensures that the given workflow stage is valid.

Definition at line 17 of file WorkflowStageRequiredPolicy.inc.php.

Constructor & Destructor Documentation

◆ __construct()

WorkflowStageRequiredPolicy::__construct (   $stageId)

Constructor

Parameters
$stageIdinteger One of the WORKFLOW_STAGE_ID_* constants.

Reimplemented from AuthorizationPolicy.

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

Member Function Documentation

◆ effect()

WorkflowStageRequiredPolicy::effect ( )

Field Documentation

◆ $_stageId

integer WorkflowStageRequiredPolicy::$_stageId

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


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