Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ContextRequiredPolicy Class Reference
Inheritance diagram for ContextRequiredPolicy:
AuthorizationPolicy

Public Member Functions

 ContextRequiredPolicy (&$request, $message= 'user.authorization.contextRequired')
 
 effect ()
 
- Public Member Functions inherited from AuthorizationPolicy
 addAuthorizedContextObject ($assocType, &$authorizedObject)
 
 applies ()
 
 AuthorizationPolicy ($message=null)
 
 effect ()
 
getAdvice ($adviceType)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
 hasAdvice ($adviceType)
 
 hasAuthorizedContextObject ($assocType)
 
 setAdvice ($adviceType, &$adviceContent)
 
 setAuthorizedContext (&$authorizedContext)
 

Detailed Description

Policy to deny access if a context cannot be found in the request.

Definition at line 17 of file ContextRequiredPolicy.inc.php.

Member Function Documentation

ContextRequiredPolicy::ContextRequiredPolicy ( $request,
  $message = 'user.authorization.contextRequired' 
)

Constructor

Parameters
$requestPKPRequest

Definition at line 26 of file ContextRequiredPolicy.inc.php.

ContextRequiredPolicy::effect ( )
See Also
AuthorizationPolicy::effect()

Definition at line 38 of file ContextRequiredPolicy.inc.php.


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