Class humhub\libs\DynamicConfig

Inheritancehumhub\libs\DynamicConfig » yii\base\BaseObject

DynamicConfig provides access to the dynamic configuration file.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getConfigFilePath() humhub\libs\DynamicConfig
load() Returns the dynamic configuration humhub\libs\DynamicConfig
merge() Add an array to the dynamic configuration humhub\libs\DynamicConfig
rewrite() Rewrites DynamicConfiguration based on Database Stored Settings humhub\libs\DynamicConfig
save() Sets a new dynamic configuration humhub\libs\DynamicConfig

Method Details

getConfigFilePath() public static method

public static void getConfigFilePath ( )
load() public static method

Returns the dynamic configuration

public static array load ( )
merge() public static method

Add an array to the dynamic configuration

public static void merge ( $new )
$new array
rewrite() public static method

Rewrites DynamicConfiguration based on Database Stored Settings

public static void rewrite ( )
save() public static method

Sets a new dynamic configuration

public static void save ( $config )
$config array