public function isDescendantOf(ChildCategory $parent)
    {
        return $this->isInTree() && $this->getLeftValue() > $parent->getLeftValue() && $this->getRightValue() < $parent->getRightValue();
    }
public function isDescendantOf(ChildCategory $parent)
    {
        return $this->isInTree() && $this->getLeftValue() > $parent->getLeftValue() && $this->getRightValue() < $parent->getRightValue();
    }
public function isDescendantOf ( ChildCategory $ parent ) { return $ this -> isInTree ( ) && $ this -> getLeftValue ( ) > $ parent -> getLeftValue ( ) && $ this -> getRightValue ( ) < $ parent -> getRightValue ( ) ; }
Tests if node is a descendant of another node

@param      ChildCategory $parent Propel node object
@return     bool
Tests if node is a descendant of another node