CSM Settings


CSM Toolbox settings methods

CSM Settings class. See methods.

Usage

csm_settings.loadSettings();

properties = csm_settings.setting_fields;

property_value = csm_settings.getValue(property_name);

csm_settings.setValue(property_name,property_value);

csm_settings.isDev();

csm_settings.checkLicence();

Methods

MethodDescription
csm_settings.loadSettings()Reloads the settings into memory.
csm_settings.getValue()Get the current value of the setting field.
csm_settings.setValue(property_name,property_value)Save the value into the config file.
csm_settings.isDev()Check whether on development environment.
csm_settings.checkLicence()Checks the user is licenced.

Copyright Imperial College London 2019