Class humhub\models\Setting

Inheritancehumhub\models\Setting » yii\db\ActiveRecord

This is the model class for table "setting".

Method Details

attributeLabels() public method

public void attributeLabels ( )
fixModuleIdAndName() public static method
Deprecated since version 1.1

Temporary for 1.1 migration

public static void fixModuleIdAndName ( $name, $moduleId )
$name string
$moduleId string
get() public static method
Deprecated since version 1.1

Returns settings value

public static string get ( $name, $moduleId '' )
$name string
$moduleId string
return string

The settings value

getModule() public static method
Deprecated since version 1.1

Temporary for 1.1 migration

public static void getModule ( $moduleId )
$moduleId string
getText() public static method
Deprecated since version 1.1

public static void getText ( $name, $moduleId '' )
$name
$moduleId
isFixed() public static method
Deprecated since version 1.1

Checks this setting is fixed

See also humhub\libs\BaseSettingsManager::isFixed.

public static boolean isFixed ( $name, $moduleId '' )
$name string
$moduleId string
isInstalled() public static method

Checks if Humhub is installed

public static boolean isInstalled ( )
rules() public method

public void rules ( )
set() public static method
Deprecated since version 1.1

Sets settings value

public static void set ( $name, $value, $moduleId '' )
$name string
$value string
$moduleId string
setText() public static method
Deprecated since version 1.1

public static void setText ( $name, $value, $moduleId '' )
$name
$value
$moduleId
tableName() public static method

public static void tableName ( )