Open Journal Systems
3.3.0
|
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() | |
Policy that ensures that the given workflow stage is valid.
Definition at line 17 of file WorkflowStageRequiredPolicy.inc.php.
WorkflowStageRequiredPolicy::__construct | ( | $stageId | ) |
Constructor
$stageId | integer One of the WORKFLOW_STAGE_ID_* constants. |
Reimplemented from AuthorizationPolicy.
Definition at line 29 of file WorkflowStageRequiredPolicy.inc.php.
WorkflowStageRequiredPolicy::effect | ( | ) |
Reimplemented from AuthorizationPolicy.
Definition at line 41 of file WorkflowStageRequiredPolicy.inc.php.
References AuthorizationPolicy\addAuthorizedContextObject(), and Application\getApplicationStages().
integer WorkflowStageRequiredPolicy::$_stageId |
Definition at line 23 of file WorkflowStageRequiredPolicy.inc.php.