|
Previous Page |
Solar_Role_Adapter |
Next Page |
is()
public
bool
is (
string $role default NULL
)
Check to see if a user is in a role.
Parameters
- (string)
$role: The role to check.
Returns
- (bool) True if the user is in the role, or false if not.
Description
Check to see if a user is in a role.