array IPS_GetMediaList ()
An array that contains all IDs of the media objects in IP Symcon as integers |
The command determines the IDs of all registered media objects in the media pool. The IDs are listed in an array. If no media object exists, the array is empty.
The objects of all media types are listed. To restrict the array by a media type, the command IPS_GetMediaListByType can be used.
$allMediaObjects = IPS_GetMediaList(); print_r($allMediaObjects); /* returns e.g.: Array ( [0] => 37659 [1] => 18326 etc. ... */