Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
PKPPublicAccessPolicy Class Reference
Inheritance diagram for PKPPublicAccessPolicy:
HandlerOperationPolicy AuthorizationPolicy PKPProcessAccessPolicy

Public Member Functions

 effect ()
 PKPPublicAccessPolicy (&$request, $operations, $message= 'user.authorization.privateOperation')
- Public Member Functions inherited from HandlerOperationPolicy
 _checkOperationWhitelist ()
 getOperations ()
getRequest ()
 HandlerOperationPolicy (&$request, $operations, $message=null)
- 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

Class to control access to handler operations based on an operation whitelist.

Definition at line 18 of file

Member Function Documentation

PKPPublicAccessPolicy::effect ( )
PKPPublicAccessPolicy::PKPPublicAccessPolicy ( $request,
  $message = 'user.authorization.privateOperation' 


$operationsarray|string either a single operation or a list of operations that this policy is targeting.
$messagestring a message to be displayed if the authorization fails

Definition at line 26 of file

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