Solar_Access_Adapter_File::load()

public void Solar_Access_Adapter_File::load ( string|Solar_Auth_Adapter $auth_spec , array|Solar_Auth_Adapter $role_spec )

Fetches the access list from the adapter into $this->list.

Inherited from Solar_Access_Adapter.

Parameters

  • (string|Solar_Auth_Adapter) $auth_spec: Fetch access controls for this user handle. If a string, is assumed to be the handle directly; otherwise, the handle is pulled from a Solar_Auth_Adapter object.

  • (array|Solar_Auth_Adapter) $role_spec: Fetch access controls for these user roles. If an array, is assumed to be the roles directly; otherwise, the roles are pulled from a Solar_Role_Adapter object.

Returns

  • (void)

Description

Fetches the access list from the adapter into $this->list.



Local