Class Settings
System setting management
- Model
- AppModel uses Blesta\Core\Util\Common\Traits\Container
- Settings
Package: blesta\app\models
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/settings.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at app/models/settings.php
public
mixed
|
|
public
mixed
|
|
public
|
#
setSettings( array $settings, array $value_keys = null )
Sets a group of settings with key/value pairs |
public
|
#
setSetting( string $key, string $value, mixed $encrypted = null, integer $inherit = null )
Sets the setting with the given key, overwriting any existing value with that key |
public
|
#
unsetSetting( string $key )
Unsets a setting from the system settings. CAUTION: This method will physically remove the setting from the system, and could have dire consequences. You should never use this method, except when attempting to remove a setting created by Settings::setSettings() or Settings::setSetting() that did not previously exist for this installation. |
public
string
|
|
public
string
|
#
getDbVersion( )
Returns the database version of Blesta. A shortcut for Settings::getSetting("database_version"). Often this will not be exactly the same as the source version because database changes are not made in every sourve version update. |
public
boolean
|
getFromContainer()
|
$logger,
$replacement_keys
|