Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
PermissionMapObject.php
Go to the documentation of this file.
1
<?php
2
namespace
Ubiquity\security\acl\cache
;
3
12
class
PermissionMapObject
{
13
14
private
$controllerAction
;
15
16
private
$resource
;
17
18
private
$permission
;
19
20
private
$roles
;
21
22
private
$type
=
''
;
23
24
public
function
__construct
(?
string
$controllerAction
=
''
, ?
string
$resource
=
''
, ?
string
$permission
=
''
, ?array
$roles
= []) {
25
$this->controllerAction =
$controllerAction
;
26
$this->resource =
$resource
;
27
$this->permission =
$permission
;
28
$this->roles =
$roles
;
29
}
30
35
public
function
getControllerAction
() {
36
return
$this->controllerAction
;
37
}
38
43
public
function
getResource
() {
44
return
$this->resource
;
45
}
46
51
public
function
getPermission
() {
52
return
$this->permission
;
53
}
54
59
public
function
setControllerAction
(
$controllerAction
) {
60
$this->controllerAction =
$controllerAction
;
61
}
62
67
public
function
setResource
(
$resource
) {
68
$this->resource =
$resource
;
69
}
70
75
public
function
setPermission
(
$permission
) {
76
$this->permission =
$permission
;
77
}
78
83
public
function
getRoles
() {
84
return
$this->roles
;
85
}
86
91
public
function
setRoles
(
$roles
) {
92
$this->roles =
$roles
;
93
}
94
95
public
function
getId_
() {
96
return
$this->controllerAction
;
97
}
98
102
public
function
getType
(): string {
103
return $this->type;
104
}
105
109
public
function
setType
(?
string
$type): void {
110
$this->type = $type;
111
}
112
}
113
Ubiquity\security\acl\cache\PermissionMapObject
Ubiquity\security\acl\cache$PermissionMapObject This class is part of Ubiquity.
Definition
PermissionMapObject.php:12
Ubiquity\security\acl\cache\PermissionMapObject\$roles
$roles
Definition
PermissionMapObject.php:20
Ubiquity\security\acl\cache\PermissionMapObject\setType
setType(?string $type)
Definition
PermissionMapObject.php:109
Ubiquity\security\acl\cache\PermissionMapObject\getPermission
getPermission()
Definition
PermissionMapObject.php:51
Ubiquity\security\acl\cache\PermissionMapObject\setPermission
setPermission($permission)
Definition
PermissionMapObject.php:75
Ubiquity\security\acl\cache\PermissionMapObject\getType
getType()
Definition
PermissionMapObject.php:102
Ubiquity\security\acl\cache\PermissionMapObject\setResource
setResource($resource)
Definition
PermissionMapObject.php:67
Ubiquity\security\acl\cache\PermissionMapObject\getResource
getResource()
Definition
PermissionMapObject.php:43
Ubiquity\security\acl\cache\PermissionMapObject\$type
$type
Definition
PermissionMapObject.php:22
Ubiquity\security\acl\cache\PermissionMapObject\getRoles
getRoles()
Definition
PermissionMapObject.php:83
Ubiquity\security\acl\cache\PermissionMapObject\$permission
$permission
Definition
PermissionMapObject.php:18
Ubiquity\security\acl\cache\PermissionMapObject\$resource
$resource
Definition
PermissionMapObject.php:16
Ubiquity\security\acl\cache\PermissionMapObject\getId_
getId_()
Definition
PermissionMapObject.php:95
Ubiquity\security\acl\cache\PermissionMapObject\__construct
__construct(?string $controllerAction='', ?string $resource='', ?string $permission='', ?array $roles=[])
Definition
PermissionMapObject.php:24
Ubiquity\security\acl\cache\PermissionMapObject\setRoles
setRoles($roles)
Definition
PermissionMapObject.php:91
Ubiquity\security\acl\cache\PermissionMapObject\setControllerAction
setControllerAction($controllerAction)
Definition
PermissionMapObject.php:59
Ubiquity\security\acl\cache\PermissionMapObject\getControllerAction
getControllerAction()
Definition
PermissionMapObject.php:35
Ubiquity\security\acl\cache\PermissionMapObject\$controllerAction
$controllerAction
Definition
PermissionMapObject.php:14
Ubiquity\security\acl\cache
Definition
AclControllerParser.php:2
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-acl
src
Ubiquity
security
acl
cache
PermissionMapObject.php
Generated on Sun Dec 10 2023 15:04:01 for
Ubiquity
by
doxygen
1.9.8