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

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()
 

Detailed Description

Policy enforcing restricted site access when the context contains such a setting.

Definition at line 18 of file RestrictedSiteAccessPolicy.inc.php.

Constructor & Destructor Documentation

◆ __construct()

RestrictedSiteAccessPolicy::__construct (   $request)

Constructor

Parameters
$requestPKPRequest

Reimplemented from AuthorizationPolicy.

Definition at line 36 of file RestrictedSiteAccessPolicy.inc.php.

Member Function Documentation

◆ _getLoginExemptions()

RestrictedSiteAccessPolicy::_getLoginExemptions ( )

Return the pages that can be accessed even while in restricted site mode.

Returns
array

Definition at line 79 of file RestrictedSiteAccessPolicy.inc.php.

Referenced by effect().

◆ applies()

RestrictedSiteAccessPolicy::applies ( )
See also
AuthorizationPolicy::applies()

Reimplemented from AuthorizationPolicy.

Definition at line 48 of file RestrictedSiteAccessPolicy.inc.php.

◆ effect()

RestrictedSiteAccessPolicy::effect ( )

Field Documentation

◆ $_request

Request RestrictedSiteAccessPolicy::$_request

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

◆ $_router

PKPRouter RestrictedSiteAccessPolicy::$_router

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


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