PermissionInspector_Module_Model
extends Vtiger_Module_Model
in package
PermissionInspector class module model.
Tags
Table of Contents
- getParameters() : array<string|int, mixed>
- Get additional parameters.
- getPrivileges() : array<string|int, mixed>
- Get privileges by user id.
- getUsersPermission() : array<string|int, mixed>
- Get users permissions.
- getWatchdog() : array<string|int, mixed>
- Get watchdog by user id.
Methods
getParameters()
Get additional parameters.
public
getParameters(array<string|int, mixed> $privileges) : array<string|int, mixed>
Parameters
- $privileges : array<string|int, mixed>
Return values
array<string|int, mixed> —getPrivileges()
Get privileges by user id.
public
getPrivileges(int $userId) : array<string|int, mixed>
Parameters
- $userId : int
Return values
array<string|int, mixed> —getUsersPermission()
Get users permissions.
public
getUsersPermission() : array<string|int, mixed>
Return values
array<string|int, mixed> —getWatchdog()
Get watchdog by user id.
public
getWatchdog(int $userId) : array<string|int, mixed>
Parameters
- $userId : int