The following functions are only available to the root customer user.

The application supports trusted mode and i_customer parameter should be supplied in this case.


These functions work with the system_config* tables only and do not affect the system table.


getSystemConfig()

Retrieve configuration. Returns all known keys and their current values. Available since: V4.5


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