Solar_Role_Adapter_Sql::isAny()
public
bool
Solar_Role_Adapter_Sql::isAny
( string|array $roles = array ()
)
Check to see if a user is in any 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 any of the listed roles (a logical 'or'), false if not.
Description
Check to see if a user is in any of the listed roles.