Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($request, $message='user.authorization.contextRequired') | |
effect () | |
![]() | |
__construct ($message=null) | |
addAuthorizedContextObject ($assocType, &$authorizedObject) | |
applies () | |
& | getAdvice ($adviceType) |
& | getAuthorizedContext () |
& | getAuthorizedContextObject ($assocType) |
hasAdvice ($adviceType) | |
hasAuthorizedContextObject ($assocType) | |
setAdvice ($adviceType, &$adviceContent) | |
setAuthorizedContext (&$authorizedContext) | |
Data Fields | |
$_request | |
![]() | |
$_advice = array() | |
$_authorizedContext = array() | |
Policy to deny access if a context cannot be found in the request.
Definition at line 17 of file ContextRequiredPolicy.inc.php.
ContextRequiredPolicy::__construct | ( | $request, | |
$message = 'user.authorization.contextRequired' |
|||
) |
Constructor
$request | PKPRequest |
Definition at line 29 of file ContextRequiredPolicy.inc.php.
ContextRequiredPolicy::effect | ( | ) |
Reimplemented from AuthorizationPolicy.
Definition at line 41 of file ContextRequiredPolicy.inc.php.
PKPRouter ContextRequiredPolicy::$_request |
Definition at line 22 of file ContextRequiredPolicy.inc.php.