UserValue
extends Facade
in package
Class UserValue.
Tags
Table of Contents
Methods
- checkUserValueSettingByName() : bool
- getUserValueSettingByName() : int|null
- getUserValueSettings() : array<string|int, mixed>
- updateUserValueSetting() : bool
- getFacadeAccessor() : string
Methods
checkUserValueSettingByName()
public
static checkUserValueSettingByName(User $user, string $settingName) : bool
Parameters
- $user : User
- $settingName : string
Return values
boolgetUserValueSettingByName()
public
static getUserValueSettingByName(User $user, string $settingName) : int|null
Parameters
- $user : User
- $settingName : string
Return values
int|nullgetUserValueSettings()
public
static getUserValueSettings(User $user) : array<string|int, mixed>
Parameters
- $user : User
Return values
array<string|int, mixed>updateUserValueSetting()
public
static updateUserValueSetting(User $user, array<string|int, mixed> $params) : bool
Parameters
- $user : User
- $params : array<string|int, mixed>
Return values
boolgetFacadeAccessor()
protected
static getFacadeAccessor() : string