What can we improve?

Documentation

(Edit)

Translation is in progress...
Not all topics are available at the moment and content links may be broken.

IPS_GetMediaList

array IPS_GetMediaList ()

Returns

An array that contains all IDs of the media objects in IP Symcon as integers

Description

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.

Example

$allMediaObjects = IPS_GetMediaList();
print_r($allMediaObjects);  
 
/* returns e.g.:
Array
(
    [0] => 37659
    [1] => 18326
    etc. ...
*/
Deutsche Webseite verfügbar
Go to cart
Any questions?