public function getChildNodes($dsId, $level = 1)
    {
        $children = [];

        $childrenDsIds = $this->getChildrenDsIds($dsId, $level);
        foreach ($childrenDsIds as $childDsId) {
            $children[] = $this->getNode($childDsId);
        }

        return $children;
    }
public function getChildNodes($dsId, $level = 1)
    {
        $children = [];

        $childrenDsIds = $this->getChildrenDsIds($dsId, $level);
        foreach ($childrenDsIds as $childDsId) {
            $children[] = $this->getNode($childDsId);
        }

        return $children;
    }
public function getChildNodes ( $ dsId , $ level = 1 ) { $ children = [ ] ; $ childrenDsIds = $ this -> getChildrenDsIds ( $ dsId , $ level ) ; foreach ( $ childrenDsIds as $ childDsId ) { $ children [ ] = $ this -> getNode ( $ childDsId ) ; } return $ children ; }
Get children nodes.

@param string $dsId  ds_id of node to fetch children
@param int    $level (Optional) recursion depth

@return ElementtypeStructureNode[]
Get children nodes .