Attempts to return a reference to a concrete VFS instance based on $driver. It will only create a new instance if no VFS instance with the same parameters currently exists.
Returns an an unsorted file list of the specified directory.
Class Details
[line 43]
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.).
'hostspec' The hostname of the database server.
'protocol' The communication protocol ('tcp', 'unix', etc.).
'username' The username with which to connect to the database.
'password' The password associated with 'username'.
'database' The name of the database.
'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:
'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/VFS/sql_file.php,v 1.49 2005/04/07 13:24:24 jan Exp $