NetworkPolicy
in
Table of Contents
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