/** * Retrieves the entire tree from parent $node * * @param sfBreadNav $node Propel object for parent node * @param PropelPDO $con Connection to use. */ public static function retrieveBranch(NodeObject $node, PropelPDO $con = null) { return sfBreadNavPeer::retrieveDescendants($node, $con); }
/** * Gets the descendants for the node * * @param PropelPDO Connection to use. * @return array */ public function getDescendants(PropelPDO $con = null) { $this->getLevel(); return sfBreadNavPeer::retrieveDescendants($this, $con); }