Methods

Parses a conditions string into it's array equivalent

_parse_conditions($rights) : array

rights mixed conditions array or string

Parameters

$rights

Returns

arrayconditions array formatted as array(area, rights)

forge()

forge(array $config) 

Parameters

$config

Check access rights

has_access(mixed $condition, array $entity) : bool

Parameters

$condition

mixed

condition to check for access

$entity

mixed

user or group identifier in the form of array(driver_id, id)

Returns

bool

 Properties

 

<p>default instance</p>

$_instance : \Auth\Auth_Driver

 

<p>contains references if multiple were loaded</p>

$_instances : array