MetaFox

UserValue
in package
implements UserValueInterface

Class UserPrivacy.

Tags
see
UserValue
todo

should cache.

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
bool

getUserValueSettingByName()

public getUserValueSettingByName(User $user, string $settingName) : int|null
Parameters
$user : User
$settingName : string
Return values
int|null

getUserValueSettings()

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
bool

collectUserValues()

private collectUserValues() : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results