PHP Класс Ezcontrollers

This model represents user access mapping data. It can be used for manipulation and retriving access previlages information.
Автор: Roni Kumar Saha ([email protected])
Наследование: extends CI_Model
Показать файл Открыть проект

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

Constructor function
public __construct ( )

clear_garbage() публичный Метод

Remove all access_role info which controller is not available
public clear_garbage ( array $existing = [] )
$existing array

get_controllers() публичный Метод

get the controller list
public get_controllers ( ) : array
Результат array

get_permission() публичный Метод

Get user record by email
public get_permission ( $access_role, $controller ) : object
$access_role
$controller
Результат object