public function renameCollection($collection, $newName)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->renameCollection($collection, $newName);
    }
public function renameCollection($collection, $newName)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->renameCollection($collection, $newName);
    }
public function renameCollection ( $ collection , $ newName ) { return $ this -> getToolbox ( $ this -> _currentConnection ) -> getCollectionManager ( ) -> renameCollection ( $ collection , $ newName ) ; }
Rename a collection.
@param string $collection The collection we wish to rename.
@param string $newName    The new name of the collection.
Rename a collection .