concrete/src/Page/Page.php
public function getCollectionChildrenArray($oneLevelOnly = 0)
    {
        $this->childrenCIDArray = [];
        $this->_getNumChildren($this->cID, $oneLevelOnly);

        return $this->childrenCIDArray;
    }
public function getCollectionChildrenArray($oneLevelOnly = 0)
    {
        $this->childrenCIDArray = [];
        $this->_getNumChildren($this->cID, $oneLevelOnly);

        return $this->childrenCIDArray;
    }
public function getCollectionChildrenArray ( $ oneLevelOnly = 0 ) { $ this -> childrenCIDArray = [ ] ; $ this -> _getNumChildren ( $ this -> cID , $ oneLevelOnly ) ; return $ this -> childrenCIDArray ; }
Get the list of child page IDs, sorted by their display order.

@param bool $oneLevelOnly set to true to return only the direct children, false for all the child pages

@return int[]
Get the list of child page IDs sorted by their display order .