Documentation
IPS_SetEventTrigger
bool IPS_SetEventTrigger (int $EventID, int $TriggerType, int $TriggerVariableID)
Parameters
| EventID | ID of the event to be changed |
||||||||||||||||||
| TriggerType |
|
||||||||||||||||||
| TriggerVariableID | VariableID whose change or update should be responded to |
Returns
If the function succeeds, it returns TRUE, otherwise FALSE.
Description
This function configures a triggering event. It defines the observed variable TriggerVariableID and which TriggerType the event should react to.
Example
IPS_SetEventTrigger($EventID, EVENTTRIGGERTYPE_ONUPDATE, 12345); // On update of variable 12345