示例#1
0
 /**
  * Moves node to be prev sibling to $dest
  *
  * @param      sfBreadNav $dest	Propel object for destination node
  * @param      PropelPDO $con Connection to use.
  * @return     sfBreadNav The current object (for fluent API support)
  */
 public function moveToPrevSiblingOf(NodeObject $dest, PropelPDO $con = null)
 {
     if ($this->isNew()) {
         throw new PropelException("sfBreadNav must exist in tree.");
     }
     sfBreadNavPeer::moveToPrevSiblingOf($dest, $this, $con);
     return $this;
 }