Ejemplo n.º 1
0
 /**
  * Determines if the node has next sibling
  *
  * @param      PropelPDO $con Connection to use.
  * @return     bool
  */
 public function hasNextSibling(PropelPDO $con = null)
 {
     if (!CausadiferidoPeer::isValid($this)) {
         return false;
     }
     return CausadiferidoQuery::create()->filterByTreeLeft($this->getRightValue() + 1)->inTree($this->getScopeValue())->count($con) > 0;
 }