Class humhub\modules\user\models\Setting

Inheritancehumhub\modules\user\models\Setting
Deprecated since version since version 1.1

User settings compatiblity layer class

See also humhub\modules\content\components\ContentContainerSettingsManager.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
Get() Gets a user setting humhub\modules\user\models\Setting
Set() Sets a user setting humhub\modules\user\models\Setting

Method Details

Get() public static method
public static string Get ( $userId, $name, $moduleId "", $defaultValue "" )
$userId integer
$name string
$moduleId string
$defaultValue string
return string

The value

Set() public static method
public static void Set ( $userId, $name, $value, $moduleId "" )
$userId integer
$name string
$value string
$moduleId string