MetaFox

HasPrivacyMember
in

Interface HasPrivacyMember.

Tags
description

If Contract User has members, use this class.

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

isAdmin()

Check if a user is a admin of this Contract User or not.

public isAdmin(User $user) : bool
Parameters
$user : User
Return values
bool

isMember()

Check if a user is a member of this Contract User or not.

public isMember(User $user) : bool
Parameters
$user : User
Return values
bool

isModerator()

Check if a user is a admin of this Contract User or not.

public isModerator(User $user) : bool
Parameters
$user : User
Return values
bool

        
On this page

Search results