PHP 클래스 Imbo\Auth\AccessControl\Adapter\SimpleArrayAdapter

저자: Espen Hovlandsdal ([email protected])
상속: extends ArrayAdapter, implements Imbo\Auth\AccessControl\Adapter\AdapterInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
__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