Method | Description | |
---|---|---|
__construct ( ) | Constructor Function | |
get_permission ( string $access_role, string $controller = "" ) : object | Get permission info by access_role and controller | |
set_permission ( $controller, $role, $permission ) : mixed | Save access permission to database |
public set_permission ( $controller, $role, $permission ) : mixed | ||
$controller | ||
$role | ||
$permission | ||
return | mixed |