Migrates DB values to settings.php.
More...
|
| __construct (Database $db, $settings_path) |
| Constructor. More...
|
|
| migrate () |
| Attempt to read the setting from the database and update the settings file Returns the value found in the database or null. More...
|
|
Migrates DB values to settings.php.
Definition at line 12 of file SettingsMigrator.php.
Elgg\Config\SettingsMigrator::__construct |
( |
Database |
$db, |
|
|
|
$settings_path |
|
) |
| |
Elgg\Config\SettingsMigrator::append |
( |
|
$bytes | ) |
|
|
protected |
Write bytes to settings files.
- Parameters
-
string | $bytes | Text to write to the settings file |
- Returns
- bool
Definition at line 43 of file SettingsMigrator.php.
Elgg\Config\SettingsMigrator::migrate |
( |
| ) |
|
|
abstract |
Attempt to read the setting from the database and update the settings file Returns the value found in the database or null.
- Returns
- mixed|null
Elgg\Config\SettingsMigrator::$db |
|
protected |
Elgg\Config\SettingsMigrator::$settings_path |
|
protected |
The documentation for this class was generated from the following file: