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