« Back to Product

Documentation

IPS_MediaExists

 boolean IPS_MediaExists (int $MediaID) 

Parameters

MediaID

ID of the media object

Returns

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

Description

The command checks if the media object with the ID MediaID exists.

Example

if (IPS_MediaExists(34881))
    echo "A media object with this ID exists!";
Any questions?