Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
AclControllerParser Class Reference

Ubiquity\security\acl\cache$AclControllerParser This class is part of Ubiquity. More...

Public Member Functions

 __construct ()
 
 init ()
 
 parse ($controllerClass)
 
 save ()
 
 cacheUpdated ()
 

Protected Member Functions

 parseMethods ($methods)
 
 parseMethod (\ReflectionMethod $method, bool &$hasPermission, $controller)
 
 addAllows ($annotsAllow, $controller, $action, &$resource, &$permission)
 

Protected Attributes

 $controllerClass
 
 $mainResource
 
 $mainPermission
 
 $permissionMap
 

Detailed Description

Ubiquity\security\acl\cache$AclControllerParser This class is part of Ubiquity.

Author
jc
Version
1.0.3

Definition at line 18 of file AclControllerParser.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 28 of file AclControllerParser.php.

Member Function Documentation

◆ addAllows()

addAllows (   $annotsAllow,
  $controller,
  $action,
$resource,
$permission 
)
protected

Definition at line 120 of file AclControllerParser.php.

◆ cacheUpdated()

cacheUpdated ( )

Definition at line 147 of file AclControllerParser.php.

◆ init()

init ( )

Definition at line 32 of file AclControllerParser.php.

◆ parse()

parse (   $controllerClass)

Definition at line 36 of file AclControllerParser.php.

◆ parseMethod()

parseMethod ( \ReflectionMethod  $method,
bool &  $hasPermission,
  $controller 
)
protected

Definition at line 83 of file AclControllerParser.php.

◆ parseMethods()

parseMethods (   $methods)
protected

Definition at line 60 of file AclControllerParser.php.

◆ save()

save ( )

Definition at line 142 of file AclControllerParser.php.

Field Documentation

◆ $controllerClass

$controllerClass
protected

Definition at line 20 of file AclControllerParser.php.

◆ $mainPermission

$mainPermission
protected

Definition at line 24 of file AclControllerParser.php.

◆ $mainResource

$mainResource
protected

Definition at line 22 of file AclControllerParser.php.

◆ $permissionMap

$permissionMap
protected

Definition at line 26 of file AclControllerParser.php.


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