« Back to Product

Documentation

IPS_GetInstanceListByModuleID

 array IPS_GetInstanceListByModuleID (string $ModuleID) 

Parameters

ModuleID

ModuleID of the instances to be returned

Returns

An array of integer values of all found IDs. The order of the entries is not guaranteed.

Description

The function returns all instances that match the specified ModuleID in an array.

Warning

The GUIDs can be looked up using IPS_GetModuleList.

Example

//FS20 Transmitter
$guid = "{48FCFDC1-11A5-4309-BB0B-A0DB8042A969}";
//List 
print_r(IPS_GetInstanceListByModuleID($guid));
Any questions?