« Back to Product

Documentation

IPS_HasChildren

 boolean IPS_HasChildren (int $ObjectID) 

Parameters

ObjectID

The ID of the object

Returns

TRUE if the object has child objects, otherwise FALSE

Description

This function checks if the object with the ID ObjectID has child objects.

Example

if (IPS_IsHasChildren(0))
    echo "The root object has child objects!";
Any questions?