PHP Class Imbo\Auth\AccessControl\Adapter\SimpleArrayAdapter

Author: Espen Hovlandsdal ([email protected])
Inheritance: extends ArrayAdapter, implements Imbo\Auth\AccessControl\Adapter\AdapterInterface
Datei anzeigen Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
__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

Method Details

__construct() public method

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

getExpandedAclList() public method

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

isEmpty() public method

Returns whether the access control list is empty or not
public isEmpty ( ) : boolean
return boolean True if list is empty, false otherwise