MetaFox

UserValue extends Facade
in package

Class UserValue.

Tags
mixin

\MetaFox\User\Support\UserValue

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
bool

getUserValueSettingByName()

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

getUserValueSettings()

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
bool

getFacadeAccessor()

protected static getFacadeAccessor() : string
Return values
string

        
On this page

Search results