PHP Класс Imbo\Auth\AccessControl\Adapter\SimpleArrayAdapter

Автор: Espen Hovlandsdal ([email protected])
Наследование: extends ArrayAdapter, implements Imbo\Auth\AccessControl\Adapter\AdapterInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( array $accessList = [] ) Class constructor
getExpandedAclList ( array $accessList ) Converts public => private key pairs into the array format accepted by ArrayAdapter
isEmpty ( ) : boolean Returns whether the access control list is empty or not

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

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

Class constructor
public __construct ( array $accessList = [] )
$accessList array Array defining the available public/private keys

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

Converts public => private key pairs into the array format accepted by ArrayAdapter
public getExpandedAclList ( array $accessList )
$accessList array

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

Returns whether the access control list is empty or not
public isEmpty ( ) : boolean
Результат boolean True if list is empty, false otherwise