« Back to Product

Documentation

IPS_EventExists

 boolean IPS_EventExists (int $EventID) 

Parameters

EventID

ID of the event to be tested

Returns

If the EventID exists in the system, TRUE is returned, otherwise FALSE.

Description

The command deletes an existing variable with the ID EventID.

All the child objects of the event are moved to the root category.

Example

if (IPS_EventExists(34881))
    echo "A event with this ID exists!";
Any questions?