Function __global->set_option
Definitions
sources/config2.php
- Set a configuration option with the specified values.Note that you may wish to also empty the template cache after running this function. Config options may have been set into template(s).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$name | ID_TEXT | required parameter | N/A | N/A | The name of the value |
$value | LONG_TEXT | required parameter | N/A | N/A | The value |
$will_be_formally_set | BINARY | 1 | N/A | N/A | Whether this was an intentionally-set value; if we set it to zero we are saying that we are only setting this value for performance purposes, to its default value |
$ob | ?object | Null | N/A | N/A | The config hook responsible for this option (null: fetch it ourselves) |