Solar_Role_Adapter_File::isAll()

public bool Solar_Role_Adapter_File::isAll ( string|array $roles = array () )

Check to see if a user is in all of the listed roles.

Inherited from Solar_Role_Adapter.

Parameters

  • (string|array) $roles: The role(s) to check.

Returns

  • (bool) True if the user is in all of the listed roles (a logical 'and'), false if not.

Description

Check to see if a user is in all of the listed roles.



Local