/** * Moves node to be first 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 moveToFirstChildOf(NodeObject $parent, PropelPDO $con = null) { if ($this->isNew()) { throw new PropelException("sfBreadNav must exist in tree."); } sfBreadNavPeer::moveToFirstChildOf($parent, $this, $con); return $this; }