메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
scan_for_controller ( string $d = "", string $pre = "" ) : array |
public clear_garbage ( array $existing = [] ) | ||
$existing | array |
public get_permission ( $access_role, $controller ) : object | ||
$access_role | ||
$controller | ||
리턴 | object |