|
Open Journal Systems
3.3.0
|
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() | |
Class to control access to a.
Definition at line 18 of file UserAccessibleWorkflowStagePolicy.inc.php.
| UserAccessibleWorkflowStagePolicy::__construct | ( | $stageId, | |
$workflowType = null |
|||
| ) |
Constructor
| $stageId | The one that will be checked against accessible user workflow stages. |
| $workflowType | string 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().
| UserAccessibleWorkflowStagePolicy::effect | ( | ) |
Reimplemented from AuthorizationPolicy.
Definition at line 55 of file UserAccessibleWorkflowStagePolicy.inc.php.
References AuthorizationPolicy\getAuthorizedContextObject(), and PKPApplication\getWorkflowTypeRoles().
| int UserAccessibleWorkflowStagePolicy::$_stageId |
Definition at line 24 of file UserAccessibleWorkflowStagePolicy.inc.php.
| string UserAccessibleWorkflowStagePolicy::$_workflowType |
Workflow type. One of WORKFLOW_TYPE_... *
Definition at line 30 of file UserAccessibleWorkflowStagePolicy.inc.php.