$id
$id :
set(string $key, mixed $values, integer $id_shop_group = null, integer $id_shop = null)
Set TEMPORARY a single configuration value (in one language only)
string | $key | Key wanted |
mixed | $values | $values is an array if the configuration is multilingual, a single string else. |
integer | $id_shop_group | |
integer | $id_shop |
updateValue(string $key, mixed $values, boolean $html = false, integer $id_shop_group = null, integer $id_shop = null) : boolean
Update configuration key and value into database (automatically insert if key does not exist)
string | $key | Key |
mixed | $values | $values is an array if the configuration is multilingual, a single string else. |
boolean | $html | Specify if html is authorized in value |
integer | $id_shop_group | |
integer | $id_shop |
Update result