Documentation
IPS_GetEventListByType
array IPS_GetEventListByType (int $EventType)
Parameters
EventType |
|
Returns
An array of integer values of all IDs of the event of the type EventType in IP Symcon.
Description
The command determines the IDs of all events of a specific EventType. The IDs are listed in an array. If no event of the specific type exists, the array is empty.
The list only contains events of the event type EventType. If all events are wanted, the command IPS_GetEventList can be used.
Example
$allEvents = IPS_GetEventListByType(1); // list only cyclical events
print_r($allEvents);
/* returns e.g.:
Array
(
[0] => 37659
[1] => 18326
etc. …
)
*/