Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($request) | |
_getLoginExemptions () | |
applies () | |
effect () | |
Public Member Functions inherited from AuthorizationPolicy | |
addAuthorizedContextObject ($assocType, &$authorizedObject) | |
& | getAdvice ($adviceType) |
& | getAuthorizedContext () |
& | getAuthorizedContextObject ($assocType) |
hasAdvice ($adviceType) | |
hasAuthorizedContextObject ($assocType) | |
setAdvice ($adviceType, &$adviceContent) | |
setAuthorizedContext (&$authorizedContext) | |
Data Fields | |
$_request | |
$_router | |
Data Fields inherited from AuthorizationPolicy | |
$_advice = array() | |
$_authorizedContext = array() | |
Policy enforcing restricted site access when the context contains such a setting.
Definition at line 18 of file RestrictedSiteAccessPolicy.inc.php.
RestrictedSiteAccessPolicy::__construct | ( | $request | ) |
Constructor
$request | PKPRequest |
Reimplemented from AuthorizationPolicy.
Definition at line 36 of file RestrictedSiteAccessPolicy.inc.php.
RestrictedSiteAccessPolicy::_getLoginExemptions | ( | ) |
Return the pages that can be accessed even while in restricted site mode.
Definition at line 79 of file RestrictedSiteAccessPolicy.inc.php.
Referenced by effect().
RestrictedSiteAccessPolicy::applies | ( | ) |
Reimplemented from AuthorizationPolicy.
Definition at line 48 of file RestrictedSiteAccessPolicy.inc.php.
RestrictedSiteAccessPolicy::effect | ( | ) |
Reimplemented from AuthorizationPolicy.
Definition at line 56 of file RestrictedSiteAccessPolicy.inc.php.
References _getLoginExemptions(), and Validation\isLoggedIn().
Request RestrictedSiteAccessPolicy::$_request |
Definition at line 29 of file RestrictedSiteAccessPolicy.inc.php.
PKPRouter RestrictedSiteAccessPolicy::$_router |
Definition at line 23 of file RestrictedSiteAccessPolicy.inc.php.