« Back to Product

Documentation

IPS_GetCompatibleInstances

 boolean IPS_GetCompatibleInstances (int $InstanceID) 

Parameters

InstanceID

ID of the instance

Returns

Array of integer values ​​for all compatible InstanceIDs to the InstanceID

Description

The command returns the IDs of all available instances in IP Symcon that are compatible to InstanceID. The IDs are listed in an array.

Example

print_r(IPS_GetCompatibleInstances(12345));

/* returns e.g.:
Array
(
    [0] => 22222
    [1] => 33333
    [2] => 44444
    [3] => 55555
    etc. ...
)
*/
Any questions?