|
Previous Page |
Solar_Role_Adapter_None |
Next Page |
isAny()
public
bool
isAny (
string|array $roles default 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.