« Back to Product

Documentation

IPS_GetOptionList

 array IPS_GetOptionList ()

Returns

An array of strings with the names of all special switches. The order of the entries is not guaranteed.

Description

Warning

This function is intended for internal use only and may change or be removed at any time without notice.

The function returns the names of all special switches that are used by the installed version of IP-Symcon. Options that are only left in the settings (e.g. from older versions) are not included.

The values of the individual options can be queried with IPS_GetOption or IPS_GetOptionEx and changed with IPS_SetOption.

Example

foreach (IPS_GetOptionList() as $option) {
    echo $option . " = " . var_export(IPS_GetOption($option), true) . "\n";
}

/* e.g. returns:
ArchiveCommitInterval = 60
ArchiveRecordLimit = 10000
ArchiveWatch = false
BackupCount = 25
etc. ...
*/
Any questions?