Config
FinalYes
Table of Contents
Constants
- MODULE_ID = 'timeman'
- MONITOR_DEBUG_ENABLE_OPTION = 'monitor_debug_enable'
- MONITOR_ENABLE_OPTION = 'monitor_enable'
- MONITOR_SKIP_OPTION = 'monitor_enable_skip'
- TYPE_ALL = 'ALL'
- TYPE_FOR_USER = 'USER'
- TYPE_NONE = 'NONE'
Properties
- $otherTime : mixed
- $shortAbsenceTime : mixed
Methods
- disableDebugForAll() : void
- disableDebugForUsers() : mixed
- disableForAll() : void
- disableForDepartment() : void
- disableForUsers() : mixed
- enableDebugForAll() : void
- enableDebugForCurrentUser() : bool
- enableDebugForUsers() : void
- enableForAll() : void
- enableForCurrentUser() : bool
- enableForDepartment() : void
- enableForUsers() : mixed
- get() : array<string|int, mixed>
- getEnabled() : string
- getMonitorDebugEnableType() : string|null
- getMonitorDebugUsers() : mixed
- getMonitorEnableType() : string|null
- getMonitorSkipOption() : string
- getMonitorSkipUsers() : mixed
- getMonitorUsers() : mixed
- isAvailable() : bool
- isDebugEnabledForCurrentUser() : bool
- isMonitorDebugEnabledForCurrentUser() : bool
- isMonitorDebugEnabledForUser() : bool
- isMonitorEnabledForCurrentUser() : bool
- isMonitorEnabledForUser() : bool
- json() : mixed
- setMonitorSkipOption() : void
- skipUsers() : void
- unskipUsers() : void
Constants
MODULE_ID
public
mixed
MODULE_ID
= 'timeman'
MONITOR_DEBUG_ENABLE_OPTION
public
mixed
MONITOR_DEBUG_ENABLE_OPTION
= 'monitor_debug_enable'
MONITOR_ENABLE_OPTION
public
mixed
MONITOR_ENABLE_OPTION
= 'monitor_enable'
MONITOR_SKIP_OPTION
public
mixed
MONITOR_SKIP_OPTION
= 'monitor_enable_skip'
TYPE_ALL
public
mixed
TYPE_ALL
= 'ALL'
TYPE_FOR_USER
public
mixed
TYPE_FOR_USER
= 'USER'
TYPE_NONE
public
mixed
TYPE_NONE
= 'NONE'
Properties
$otherTime
public
static mixed
$otherTime
= 1800000
$shortAbsenceTime
public
static mixed
$shortAbsenceTime
= 1800000
Methods
disableDebugForAll()
public
static disableDebugForAll() : void
disableDebugForUsers()
public
static disableDebugForUsers(mixed $userIds) : mixed
Parameters
- $userIds : mixed
disableForAll()
public
static disableForAll() : void
disableForDepartment()
public
static disableForDepartment(int $departmentId) : void
Parameters
- $departmentId : int
disableForUsers()
public
static disableForUsers(mixed $userIds) : mixed
Parameters
- $userIds : mixed
enableDebugForAll()
public
static enableDebugForAll() : void
enableDebugForCurrentUser()
public
static enableDebugForCurrentUser() : bool
Return values
boolenableDebugForUsers()
public
static enableDebugForUsers(mixed $userIds) : void
Parameters
- $userIds : mixed
enableForAll()
public
static enableForAll() : void
enableForCurrentUser()
public
static enableForCurrentUser() : bool
Return values
boolenableForDepartment()
public
static enableForDepartment(int $departmentId) : void
Parameters
- $departmentId : int
enableForUsers()
public
static enableForUsers(mixed $userIds) : mixed
Parameters
- $userIds : mixed
get()
public
static get() : array<string|int, mixed>
Return values
array<string|int, mixed>getEnabled()
public
static getEnabled() : string
Return values
stringgetMonitorDebugEnableType()
public
static getMonitorDebugEnableType() : string|null
Return values
string|nullgetMonitorDebugUsers()
public
static getMonitorDebugUsers() : mixed
getMonitorEnableType()
public
static getMonitorEnableType() : string|null
Return values
string|nullgetMonitorSkipOption()
public
static getMonitorSkipOption() : string
Return values
stringgetMonitorSkipUsers()
public
static getMonitorSkipUsers() : mixed
getMonitorUsers()
public
static getMonitorUsers() : mixed
isAvailable()
public
static isAvailable() : bool
Return values
boolisDebugEnabledForCurrentUser()
public
static isDebugEnabledForCurrentUser() : bool
Return values
boolisMonitorDebugEnabledForCurrentUser()
public
static isMonitorDebugEnabledForCurrentUser() : bool
Return values
boolisMonitorDebugEnabledForUser()
public
static isMonitorDebugEnabledForUser(int $userId) : bool
Parameters
- $userId : int
Return values
boolisMonitorEnabledForCurrentUser()
public
static isMonitorEnabledForCurrentUser() : bool
Return values
boolisMonitorEnabledForUser()
public
static isMonitorEnabledForUser(int $userId) : bool
Parameters
- $userId : int
Return values
booljson()
public
static json() : mixed
setMonitorSkipOption()
public
static setMonitorSkipOption(mixed $value) : void
Parameters
- $value : mixed
skipUsers()
public
static skipUsers(mixed $userIds) : void
Parameters
- $userIds : mixed
unskipUsers()
public
static unskipUsers(mixed $userIds) : void
Parameters
- $userIds : mixed