VihvLCC  3.0.0
NoAcl Class Reference
Inheritance diagram for NoAcl:
Collaboration diagram for NoAcl:

Public Member Functions

 userCanDo ($resource, $action, $user)
 
 currentUserCanDo ($resource, $action)
 

Detailed Description

this class used in case no ACL needed, NoAcl will always allow any action

Member Function Documentation

currentUserCanDo (   $resource,
  $action 
)
Parameters
$resourcestring resource name, by default equals to control name
$actionstring action name, in most cases - event name (onAdd, onGet etc)
Returns
true if current user can do $action on the $resource

Implements IAcl.

userCanDo (   $resource,
  $action,
  $user 
)
Parameters
$resourcestring resource name, by default equals to control name
$actionstring action name, in most cases - event name (onAdd, onGet etc)
$userstring user identifier (username or user id)
Returns
true if $user can do $action on the $resource

Implements IAcl.


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