Ubiquity 2.5.2
php rapid development framework
|
To use with a controller with acls. More...
Public Member Functions | |
_getRole () | |
isValid ($action) | |
Returns True if access to the controller is allowed for the role returned by _getRole method. | |
Protected Member Functions | |
isValidRole ($action, $role) | |
Returns True if access to the controller is allowed for $role. | |
To use with a controller with acls.
Ubiquity\security\acl\controllers$AclControllerTrait This class is part of Ubiquity
Definition at line 18 of file AclControllerTrait.php.
|
abstract |
isValid | ( | $action | ) |
Returns True if access to the controller is allowed for the role returned by _getRole method.
To be override in sub classes
string | $action |
Definition at line 50 of file AclControllerTrait.php.
|
protected |
Returns True if access to the controller is allowed for $role.
string | $action | |
string | $role |
Definition at line 28 of file AclControllerTrait.php.