VFS:: implementation using PHP's PEAR database abstraction layer and local file system for file storage.
Required values for $params:
'phptype' The database type (ie. 'pgsql', 'mysql', etc.). 'vfsroot' The root directory of where the files should be actually stored.
Optional values:
'table' The name of the vfs table in 'database'. Defaults to 'horde_vfs'.
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.
The table structure for the VFS can be found in data/vfs.sql.
$Horde: framework/VFS/lib/VFS/sql_file.php,v 1.1.2.3 2009/10/15 17:18:48 jan Exp $
Located in /VFS/lib/VFS/sql_file.php (line 54)
VFS | --VFS_file | --VFS_sql_file
Handle for the current database connection.
Inherited from VFS_file
VFS_file::$_permissions
Inherited from VFS
VFS::$_credentials
VFS::$_logger
VFS::$_logLevel
VFS::$_params
VFS::$_vfsSize
Copies a file through the backend.
Creates a folder on the VFS.
Delete a file from the VFS.
Delete a folder from the VFS.
Returns a sorted list of folders in specified directory.
Moves a file in the database and the file system.
Rename a file or folder in the VFS.
Store a file in the VFS, with the data copied from a temporary file.
Store a file in the VFS from raw data.
Return a list of the contents of a folder.
Inherited From VFS_file
VFS_file::VFS_file()
VFS_file::changePermissions()
VFS_file::copy()
VFS_file::createFolder()
VFS_file::deleteFile()
VFS_file::deleteFolder()
VFS_file::exists()
VFS_file::isFolder()
VFS_file::listFolders()
VFS_file::move()
VFS_file::read()
VFS_file::readByteRange()
VFS_file::readFile()
VFS_file::readStream()
VFS_file::rename()
VFS_file::size()
VFS_file::write()
VFS_file::writeData()
VFS_file::_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:22:09 +0000 by phpDocumentor 1.4.3