public function hasChildNodes($dsId = null)
    {
        if (!$dsId) {
            // use root as default
            $dsId = $this->rootDsId;
        }

        $childrenDsIds = $this->getChildrenDsIds($dsId);
        $hasChildren = count($childrenDsIds) > 0;

        return $hasChildren;
    }
public function hasChildNodes($dsId = null)
    {
        if (!$dsId) {
            // use root as default
            $dsId = $this->rootDsId;
        }

        $childrenDsIds = $this->getChildrenDsIds($dsId);
        $hasChildren = count($childrenDsIds) > 0;

        return $hasChildren;
    }
public function hasChildNodes ( $ dsId = null ) { if ( ! $ dsId ) { // use root as default $ dsId = $ this -> rootDsId ; } $ childrenDsIds = $ this -> getChildrenDsIds ( $ dsId ) ; $ hasChildren = count ( $ childrenDsIds ) > 0 ; return $ hasChildren ; }
Has node children?

@param string $dsId (Optional) ds_id of node to check childrens

@return bool
Has node children?