示例#1
0
 /**
  * Inserts $node as previous sibling to given destination node $dest
  *
  * @param      sfBreadNav $dest	Propel object for destination node
  * @param      PropelPDO $con Connection to use.
  * @return     sfBreadNav The current object (for fluent API support)
  * @throws     PropelException - if this object already exists
  */
 public function insertAsPrevSiblingOf(NodeObject $dest, PropelPDO $con = null)
 {
     if (!$this->isNew()) {
         throw new PropelException("sfBreadNav must be new.");
     }
     sfBreadNavPeer::insertAsPrevSiblingOf($this, $dest, $con);
     return $this;
 }