Manager
Table of Contents
Methods
-
getNotifyAccess()
: mixed
-
getUserSettings()
: Result
-
isSettingsMigrated()
: bool
-
isUserMigrated()
: bool
-
setUserSetting()
: Result
-
setUserSettings()
: Result
getNotifyAccess()
public
static getNotifyAccess(mixed $userId, mixed $moduleId, mixed $eventId, mixed $type) : mixed
Parameters
-
$userId
: mixed
-
-
$moduleId
: mixed
-
-
$eventId
: mixed
-
-
$type
: mixed
-
getUserSettings()
public
static getUserSettings(int $userId) : Result
Parameters
-
$userId
: int
-
isSettingsMigrated()
public
static isSettingsMigrated() : bool
isUserMigrated()
public
static isUserMigrated(int $userId) : bool
Parameters
-
$userId
: int
-
setUserSetting()
public
static setUserSetting(int $userId, string $type, array<string|int, mixed> $settings) : Result
Parameters
-
$userId
: int
-
-
$type
: string
-
-
$settings
: array<string|int, mixed>
-
setUserSettings()
public
static setUserSettings(int $userId, array{notify: array, general: array} $settings) : Result
Parameters
-
$userId
: int
-
-
$settings
: array{notify: array, general: array}
-
-
throws
-
ArgumentException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException