Documentation
IPS_GetScriptEventList
array IPS_GetScriptEventList (int $ScriptID)
Parameters
| ScriptID | ID of the script |
Returns
An array of integer values containing the IDs of all events that are assigned to the script ScriptID. The order of the entries is not guaranteed.
Description
This function returns an array whose elements are the respective IDs of the events of the script with the ID ScriptID, i.e., the events that are direct children of the script. The events can be further processed by the function IPS_GetEvent.
Example
$events = IPS_GetScriptEventList($_IPS['SELF']);
print_r($events); // determines all events of the current script