Download the PHP package k1low/setting without Composer
On this page you can find all versions of the php package k1low/setting. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download k1low/setting
More information about k1low/setting
Files in k1low/setting
Download k1low/setting
More information about k1low/setting
Files in k1low/setting
Vendor k1low
Package setting
Short Description Setting: Database driven setting plugin for CakePHP.
License MIT
Homepage https://github.com/k1LoW/Setting
Package setting
Short Description Setting: Database driven setting plugin for CakePHP.
License MIT
Homepage https://github.com/k1LoW/Setting
Please rate this library. Is it a good library?
Informations about the package setting
Setting: Database driven setting plugin for CakePHP.
Install
First, Install 'Setting' by recipe.php , and set CakePlugin::load('Setting', array('bootstrap' => true));
Second, Create schema.
./lib/Cake/Console/cake schema create settings --plugin Setting
Usage
Init
Configure Setting.settings
like Model::validate.
Configure::write('Setting.settings', array(
'tax_rate' => array('rule' => array('numeric')),
));
Set setting
Setting::setSetting([key], [value])
or Setting::setSetting(array([key1] => [value1], [key2] => [value2]))
Get setting
Setting::getSetting([key])
or Setting::getSetting()
If you want not to use Setting (settings table)
License
the MIT License
All versions of setting with dependencies
PHP Build Version
Package Version
Requires
composer/installers Version
*
The package k1low/setting contains the following files
Loading the files please wait ....