[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
Permission for read access.
Poids: | 482 lignes (18 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
VFS_musql:: (7 méthodes):
writeData()
deleteFile()
rename()
createFolder()
deleteFolder()
_listFolder()
changePermissions()
writeData($path, $name, $data, $autocreate = false) X-Ref |
Store a file in the VFS from raw data. param: string $path The path to store the file in. param: string $name The filename to use. param: string $data The file data. param: boolean $autocreate Automatically create directories? return: mixed True on success or a PEAR_Error object on failure. |
deleteFile($path, $name) X-Ref |
Delete a file from the VFS. param: string $path The path to store the file in. param: string $name The filename to use. return: mixed True on success or a PEAR_Error object on failure. |
rename($oldpath, $oldname, $newpath, $newname) X-Ref |
Rename a file or folder in the VFS. param: string $oldpath The old path to the file. param: string $oldname The old filename. param: string $newpath The new path of the file. param: string $newname The new filename. return: mixed True on success or a PEAR_Error object on failure. |
createFolder($path, $name) X-Ref |
Creates a folder on the VFS. param: string $path Holds the path of directory to create folder. param: string $name Holds the name of the new folder. return: mixed True on success or a PEAR_Error object on failure. |
deleteFolder($path, $name, $recursive = false) X-Ref |
Delete a file from the VFS. param: string $path The path to delete the folder from. param: string $name The foldername to use. param: boolean $recursive Force a recursive delete? return: mixed True on success or a PEAR_Error object on failure. |
_listFolder($path, $filter = null, $dotfiles = true,$dironly = false) X-Ref |
Return a list of the contents of a folder. param: string $path The path of the directory. param: mixed $filter String/hash to filter file/dirname on. param: boolean $dotfiles Show dotfiles? param: boolean $dironly Show only directories? return: mixed File list on success or false on failure. |
changePermissions($path, $name, $permission) X-Ref |
Changes permissions for an Item on the VFS. param: string $path Holds the path of directory of the Item. param: string $name Holds the name of the Item. return: mixed True on success or a PEAR_Error object on failure. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |