Multi User VFS implementation for PHP's PEAR database abstraction layer.
Required values for $params:
'phptype' The database type (ie. 'pgsql', 'mysql', etc.).
Optional values:
'table' The name of the vfs table in 'database'. Defaults to 'horde_muvfs'.
Required by some database implementations:
'hostspec' The hostname of the database server. 'protocol' The communication protocol ('tcp', 'unix', etc.). 'database' The name of the database. 'username' The username with which to connect to the database. 'password' The password associated with 'username'. 'options' Additional options to pass to the database. 'tty' The TTY on which to connect to the database. 'port' The port on which to connect to the database.
Known Issues: Delete is not recusive, so files and folders that used to be in a folder that gets deleted live forever in the database, or re-appear when the folder is recreated. Rename has the same issue, so files are lost if a folder is renamed.
The table structure for the VFS can be found in data/muvfs.sql.
Database specific notes:
MSSQL:
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /VFS/lib/VFS/musql.php (line 69)
VFS | --VFS_sql | --VFS_musql
List of permissions and if they can be changed in this VFS
Inherited from VFS_sql
VFS_sql::$_connected
VFS_sql::$_db
VFS_sql::$_write_db
Inherited from VFS
VFS::$_credentials
VFS::$_logger
VFS::$_logLevel
VFS::$_params
VFS::$_vfsSize
Changes permissions for an Item on the VFS.
Creates a folder on the VFS.
Deletes a file from the VFS.
Deletes a folder from the VFS.
Renames a file or folder in the VFS.
Stores a file in the VFS from raw data.
Returns a list of the contents of a folder.
Inherited From VFS_sql
VFS_sql::createFolder()
VFS_sql::deleteFile()
VFS_sql::deleteFolder()
VFS_sql::gc()
VFS_sql::getFolderSize()
VFS_sql::isFolder()
VFS_sql::listFolders()
VFS_sql::read()
VFS_sql::readByteRange()
VFS_sql::rename()
VFS_sql::size()
VFS_sql::write()
VFS_sql::writeData()
VFS_sql::_getFileSizeOp()
VFS_sql::_listFolder()
Inherited From VFS
VFS::VFS()
VFS::autocreatePath()
VFS::changePermissions()
VFS::checkCredentials()
VFS::copy()
VFS::createFolder()
VFS::delete()
VFS::deleteFile()
VFS::deleteFolder()
VFS::emptyFolder()
VFS::exists()
VFS::factory()
VFS::getCurrentDirectory()
VFS::getFolderSize()
VFS::getModifiablePermissions()
VFS::getParam()
VFS::getQuota()
VFS::getRequiredCredentials()
VFS::getVFSSize()
VFS::isFolder()
VFS::listFolder()
VFS::listFolders()
VFS::log()
VFS::move()
VFS::read()
VFS::readByteRange()
VFS::readFile()
VFS::rename()
VFS::setLogger()
VFS::setParams()
VFS::setQuota()
VFS::setQuotaRoot()
VFS::singleton()
VFS::size()
VFS::strlen()
VFS::strtolower()
VFS::write()
VFS::writeData()
VFS::_copyRecursive()
VFS::_getPath()
VFS::_getTempDir()
VFS::_getTempFile()
VFS::_listFolder()
Documentation generated on Sun, 30 Jan 2011 05:19:50 +0000 by phpDocumentor 1.4.3