« Back to Product

Documentation

IPS_GetChildrenIDs

 array IPS_GetChildrenIDs (int $ObjectID) 

Parameters

ObjectID

ID of the object

Returns

An array of integer values ​that contains the IDs ​of all child objects

Description

This function determines the IDs of all child objects of the object with the ID ObjectID. The IDs of the children are listed in an array.

Example

print_r(IPS_GetChildrenIDs(32102));
 
/* returns, e.g.,:
Array
(
    [0] => 11650
    [1] => 25578
    [2] => 30202
    etc. ...
)
*/
Any questions?