MetaFox

UserValueInterface
in

Interface UserValueInterface.

Table of Contents

Methods

checkUserValueSettingByName()  : bool
getUserValueSettingByName()  : int|null
getUserValueSettings()  : array<string, mixed>
updateUserValueSetting()  : bool

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> $params) : bool
Parameters
$user : User
$params : array<string, int>
Tags
throws
ValidationException
Return values
bool

        
On this page

Search results