Documentation
IPS_GetVariableEventList
array IPS_GetVariableEventList (int $VariableID)
Parameters
| VariableID | ID of the variable |
Returns
List of IDs of all events associated with the variable VariableID. The order of the entries is not guaranteed.
Description
This function returns an array whose elements are the respective IDs of the events in which the variable with the ID VariableID is used. The events can be processed further by the function IPS_GetEvent.
Example
$events = IPS_GetVariableEventList(12345);
print_r($events); // determines all events associated with the variable 12345