The following functions are only available to the root customer user.
These functions work with the system_config* tables only and do not affect the system table.
getSystemConfig()
Available since: V4.5
Retrieve configuration. Returns all known keys and their current values.
Parameters:
- key Result should be returned for this key only. String. Optional.
Returns:
- config - list of configuration records where each record contains the following fields:
- key - String
- current_value - String
- default_value - String
setSystemConfig()
Set a configuration value.
Available since: V4.5
Parameters:
- key The key name. Only values which are present in the system_config_defaults table are allowed. String.
- value The value. String.
Returns nothing