Documentation
IPS_GetInstanceChildrenIDs
array IPS_GetInstanceChildrenIDs (int $InstanceID)
Parameters
InstanceID | ID of the instance |
Returns
An array of InstanceIDs from the children instances
Description
This function should not be used since IP-Symcon 2.6 and was removed with IP-Symcon 4.0.
The command returns all IDs of the children instances of the specific instance InstanceID. (Seen by the hardware (physical) view)
This command is only useful for I / O and splitter instances.
Example
print_r(IPS_GetInstanceChildrenIDs(12345));
// Example to replace the deprecated command
// "IPS_GetInstanceChildrenIDs".
// IPS_GetInstance is used
$InstanceIDs = IPS_GetInstanceList();
foreach($InstanceIDs as $IID)
if(IPS_GetInstance($IID)['ConnectionID'] == 12345)
echo $IID . PHP_EOL;