Basic SoftDisk usageFirst of all we must include and initialize the class.
require_once($mosConfig_absolute_path.'/administrator/includes/softdisk.class.php');
$softdisk = new softDisk();
List existing SoftDisk's sections (returns an array of existing sections):
$softdisk->listSections();
Translate a SoftDisk section or parameter name to our language:
$softdisk->translate($string);
Get SoftDisks's valid value types (array of valid types):
$softdisk->validTypes();
Get a SoftDisk's parameter value:
$softdisk->getValue($name);
Get a SoftDisk's parameter formatted value:
//name: the name of the SoftDisk parameter
//valuetype: the type of the SoftDisk parameter
$softdisk->getFormatedValue($name, $valuetype);
Get a complete SoftDisk row by either declaring the name or the row id (one of these must be defined):
$softdisk->getRow($id, $name);
Fast SoftDisk update
//name: the name of the SoftDisk parameter
//value: the value of the SoftDisk parameter
$softdisk->update($name, $value);
Load a whole SoftDisk section (object list):
//section: the section name
$softdisk->loadSection($section);
Update SoftDisk system entries:
$softdisk->updateSystem();