Releases: yii2mod/yii2-settings
Releases · yii2mod/yii2-settings
1.10 Release
Changelog
- Rename 'settingSearchClass' to 'searchClass', 'settingModelClass' to 'modelClass', update README.
1.9 Release
Changelog
- Enh 94027d8 : rename setting search class, add additional properties to DefaultController
Now you can override views files, setting model class and setting search class in the following way:
'admin' => [
'modules' => [
'settings' => [
'class' => 'yii2mod\settings\Module',
// Some controller properties maybe need to change.
'controllerMap' => [
'default' => [
'class' => 'yii2mod\settings\controllers\DefaultController',
'indexView' => 'custom path to index view file',
'createView' => 'custom path to create view file',
'updateView' => 'custom path to update view file',
'settingSearchClass' => 'Your own search model class',
'settingModelClass' => 'Your own setting model class',
]
]
],
],
]
1.8.1 Release
Changelog
- Fix 2f19fa5
1.8 Release
- Rename table from
Setting
tosetting
To apply this changes please execute the new migration by the following command:
$ php yii migrate --migrationPath=@vendor/yii2mod/yii2-settings/migrations
1.7 Release
Date: November, 1, 2016
- Added
removeAll
method to Setting component
1.6 Release
Date: Wednesday, August 3, 2016
- Update search model
- Delete id column from gridview
1.5 Release
Date: Monday, July 25, 2016
- Update init migration
- Update docs
- Add translation for
uk
language - Update composer.json
1.4 Release
Date: Wednesday, July 20, 2016
- Add
activate
anddeactivate
methods to the Setting component, code example:
// Deactivates a setting
$settings->deactivate('section', 'key');
// Removes a setting
$settings->remove('section', 'key');
- Update docs and tests
1.3 Release
Date: Thursday, July 14, 2016
- Add
has
function for the checking existence of setting - Update tests
1.2 Release
Date: Thursday, July 14, 2016
- Add translations: en, ru
- Update docs