Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
ContextRequiredPolicy Class Reference
Inheritance diagram for ContextRequiredPolicy:

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)

Additional Inherited Members

- Public Attributes inherited from AuthorizationPolicy
 $_advice = array()
 $_authorizedContext = array()

Detailed Description

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

Definition at line 17 of file

Member Function Documentation

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



Definition at line 29 of file

ContextRequiredPolicy::effect ( )
See Also

Definition at line 41 of file

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