Method | Description | |
---|---|---|
__construct ( ) | Constructor function | |
clear_garbage ( array $existing = [] ) | Remove all access_role info which controller is not available | |
get_controllers ( ) : array | get the controller list | |
get_permission ( $access_role, $controller ) : object | Get user record by email |
Method | Description | |
---|---|---|
scan_for_controller ( string $d = "", string $pre = "" ) : array |
public clear_garbage ( array $existing = [] ) | ||
$existing | array |
public get_controllers ( ) : array | ||
return | array |
public get_permission ( $access_role, $controller ) : object | ||
$access_role | ||
$controller | ||
return | object |