Solar_Role_Adapter_None::is()

public bool Solar_Role_Adapter_None::is ( string $role = NULL )

Check to see if a user is in a role.

Inherited from Solar_Role_Adapter.

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.



Local