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

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

Public Member Functions

 __construct (?string $controllerAction='', ?string $resource='', ?string $permission='', ?array $roles=[])
 
 getControllerAction ()
 
 getResource ()
 
 getPermission ()
 
 setControllerAction ($controllerAction)
 
 setResource ($resource)
 
 setPermission ($permission)
 
 getRoles ()
 
 setRoles ($roles)
 
 getId_ ()
 
 getType ()
 
 setType (?string $type)
 

Private Attributes

 $controllerAction
 
 $resource
 
 $permission
 
 $roles
 
 $type =''
 

Detailed Description

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

Author
jc
Version
1.0.0

Definition at line 12 of file PermissionMapObject.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( ?string  $controllerAction = '',
?string  $resource = '',
?string  $permission = '',
?array  $roles = [] 
)

Definition at line 24 of file PermissionMapObject.php.

Member Function Documentation

◆ getControllerAction()

getControllerAction ( )
Returns
mixed

Definition at line 35 of file PermissionMapObject.php.

◆ getId_()

getId_ ( )

Definition at line 95 of file PermissionMapObject.php.

◆ getPermission()

getPermission ( )
Returns
mixed

Definition at line 51 of file PermissionMapObject.php.

◆ getResource()

getResource ( )
Returns
mixed

Definition at line 43 of file PermissionMapObject.php.

◆ getRoles()

getRoles ( )
Returns
mixed

Definition at line 83 of file PermissionMapObject.php.

◆ getType()

getType ( )
Returns
string

Definition at line 102 of file PermissionMapObject.php.

◆ setControllerAction()

setControllerAction (   $controllerAction)
Parameters
mixed$controllerAction

Definition at line 59 of file PermissionMapObject.php.

◆ setPermission()

setPermission (   $permission)
Parameters
mixed$permission

Definition at line 75 of file PermissionMapObject.php.

◆ setResource()

setResource (   $resource)
Parameters
mixed$resource

Definition at line 67 of file PermissionMapObject.php.

◆ setRoles()

setRoles (   $roles)
Parameters
mixed$roles

Definition at line 91 of file PermissionMapObject.php.

◆ setType()

setType ( ?string  $type)
Parameters
string$type

Definition at line 109 of file PermissionMapObject.php.

Field Documentation

◆ $controllerAction

$controllerAction
private

Definition at line 14 of file PermissionMapObject.php.

◆ $permission

$permission
private

Definition at line 18 of file PermissionMapObject.php.

◆ $resource

$resource
private

Definition at line 16 of file PermissionMapObject.php.

◆ $roles

$roles
private

Definition at line 20 of file PermissionMapObject.php.

◆ $type

$type =''
private

Definition at line 22 of file PermissionMapObject.php.


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