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