Class Horde_Vfs_Musql
Multi User VFS implementation for Horde's database abstraction layer.
Required values for $params: - db: A Horde_Db_Adapter object.
Optional values: - table: (string) The name of the vfs table in 'database'. Defaults to 'horde_muvfs'.
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 created with the horde-db-migrate script from the Horde_Db package.
Copyright 2002-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
- Horde_Vfs_Base
- Horde_Vfs_Sql
- Horde_Vfs_Musql
Author: Chuck Hagenbuch chuck@horde.org
Author: Mike Cochrane mike@graftonhall.co.nz
Located at Horde/Vfs/Musql.php
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
deleteFolder( string $path, string $name, boolean $recursive = false )
Deletes a folder from the VFS. |
public
|
#
changePermissions( string $path, string $name, string $permission )
Changes permissions for an Item on the VFS. |
__construct(),
gc(),
getFolderSize(),
isFolder(),
listFolders(),
read(),
readByteRange(),
size(),
write()
|
integer |
FLAG_READ
|
#
1
|
integer |
FLAG_WRITE
|
#
2
|
FILE,
FOLDER
|