HasPrivacyMember
in
Interface HasPrivacyMember.
Tags
Table of Contents
Methods
- getRoleLabel() : string|null
- isAdmin() : bool
- Check if a user is a admin of this Contract User or not.
- isMember() : bool
- Check if a user is a member of this Contract User or not.
- isModerator() : bool
- Check if a user is a admin of this Contract User or not.
Methods
getRoleLabel()
public
getRoleLabel(User $user) : string|null
Parameters
- $user : User
Return values
string|nullisAdmin()
Check if a user is a admin of this Contract User or not.
public
isAdmin(User $user) : bool
Parameters
- $user : User
Return values
boolisMember()
Check if a user is a member of this Contract User or not.
public
isMember(User $user) : bool
Parameters
- $user : User
Return values
boolisModerator()
Check if a user is a admin of this Contract User or not.
public
isModerator(User $user) : bool
Parameters
- $user : User