UserValue
in package
implements
UserValueInterface
Class UserPrivacy.
Tags
Table of Contents
Interfaces
- UserValueInterface
- Interface UserValueInterface.
Methods
- checkUserValueSettingByName() : bool
- getUserValueSettingByName() : int|null
- getUserValueSettings() : array<string, mixed>
- updateUserValueSetting() : bool
- collectUserValues() : array<string, mixed>
Methods
checkUserValueSettingByName()
public
checkUserValueSettingByName(User $user, string $settingName) : bool
Parameters
- $user : User
- $settingName : string
Return values
boolgetUserValueSettingByName()
public
getUserValueSettingByName(User $user, string $settingName) : int|null
Parameters
- $user : User
- $settingName : string
Return values
int|nullgetUserValueSettings()
public
getUserValueSettings(User $user) : array<string, mixed>
Parameters
- $user : User
Return values
array<string, mixed>updateUserValueSetting()
public
updateUserValueSetting(User $user, array<string|int, mixed> $params) : bool
Parameters
- $user : User
- $params : array<string|int, mixed>
Return values
boolcollectUserValues()
private
collectUserValues() : array<string, mixed>