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