UserConfiguration
Table of Contents
Methods
-
__construct()
: mixed
-
checkIsPersonalGeneralPreset()
: bool
-
getGeneralSettings()
: array<string|int, mixed>
-
getNotifySettings()
: array<string|int, mixed>
-
getPersonalGeneralPresetId()
: int|null
-
load()
: Result
-
updateGeneralSetting()
: mixed
-
updateNotifySetting()
: void
-
updateStatus()
: bool
__construct()
public
__construct([int|null $userId = null ]) : mixed
Parameters
-
$userId
: int|null
= null
-
checkIsPersonalGeneralPreset()
public
checkIsPersonalGeneralPreset() : bool
getGeneralSettings()
public
getGeneralSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>
getNotifySettings()
public
getNotifySettings() : array<string|int, mixed>
Return values
array<string|int, mixed>
getPersonalGeneralPresetId()
public
getPersonalGeneralPresetId() : int|null
load()
public
load(int $userId) : Result
Parameters
-
$userId
: int
-
updateGeneralSetting()
public
updateGeneralSetting(array<string|int, mixed> $settingsConfiguration) : mixed
Parameters
-
$settingsConfiguration
: array<string|int, mixed>
-
updateNotifySetting()
public
updateNotifySetting(array<string|int, mixed> $settingsConfiguration) : void
Parameters
-
$settingsConfiguration
: array<string|int, mixed>
-
updateStatus()
public
updateStatus(string $status) : bool
Parameters
-
$status
: string
-