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