MetaFox

NetworkPolicyRepository
in package
implements NetworkPolicy

Table of Contents

Interfaces

NetworkPolicy

Methods

checkNetworkPermission()  : mixed
hasNetworkRole()  : mixed

Methods

checkNetworkPermission()

public checkNetworkPermission(User|null $user, int $network, string $permission) : mixed
Parameters
$user : User|null
$network : int
$permission : string

hasNetworkRole()

public hasNetworkRole(User|null $user, int $network, string $role) : mixed
Parameters
$user : User|null
$network : int
$role : string

        
On this page

Search results