GetChildList

Fetches a list of page IDs for the children of a given parent page.

Prototype

function GetChildList($ParentPageID, $UserID)

Parameters

  • $ParentPageID - the page whose children you're trying to find
  • $UserID - a user in the CMS database whose permissions should be used to determine which pages are visible

Return Values

If children are found, the function returns an array of integers representing the ID numbers of the parent page's children.  On failure it returns NULL.