| [ Index ] |
|
Code source de eZ Publish 3.9.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 481 lignes (13 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 4 fichiers lib/ezutils/classes/ezdebug.php kernel/classes/ezclusterfilehandler.php lib/ezutils/classes/ezini.php lib/ezutils/classes/ezdebugsetting.php |
eZDBFileHandler:: (28 méthodes):
eZDBFileHandler()
loadMetaData()
fileStore()
fileStoreContents()
storeContents()
fileFetch()
fetch()
fileFetchContents()
fetchContents()
stat()
size()
mtime()
name()
fileDeleteByRegex()
fileDeleteByWildcard()
fileDeleteByDirList()
fileDelete()
delete()
fileDeleteLocal()
deleteLocal()
fileExists()
exists()
passthrough()
fileCopy()
fileLinkCopy()
fileMove()
move()
getFileList()
Classe: eZDBFileHandler - X-Ref
| eZDBFileHandler( $filePath = false ) X-Ref |
| Constructor. $filePath File path. If specified, file metadata is fetched in the constructor. |
| loadMetaData() X-Ref |
| Pas de description |
| fileStore( $filePath, $scope = false, $delete = false, $datatype = false ) X-Ref |
| \public \static \param $filePath Path to the file being stored. \param $scope Means something like "file category". May be used to clean caches of a certain type. \param $delete true if the file should be deleted after storing. |
| fileStoreContents( $filePath, $contents, $scope = false, $datatype = false ) X-Ref |
| Store file contents. \public \static |
| storeContents( $contents, $scope = false, $datatype = false ) X-Ref |
| Store file contents. \public |
| fileFetch( $filePath ) X-Ref |
| Fetches file from db and saves it in FS under the same name. \public \static |
| fetch() X-Ref |
| Fetches file from db and saves it in FS under the same name. \public |
| fileFetchContents( $filePath ) X-Ref |
| Returns file contents. \public \static \return contents string, or false in case of an error. |
| fetchContents() X-Ref |
| Returns file contents. \public \return contents string, or false in case of an error. |
| stat() X-Ref |
| Returns file metadata. \public |
| size() X-Ref |
| Returns file size. \public |
| mtime() X-Ref |
| Returns file modification time. \public |
| name() X-Ref |
| Returns file name. \public |
| fileDeleteByRegex( $dir, $fileRegex ) X-Ref |
| \public \static \sa fileDeleteByWildcard() |
| fileDeleteByWildcard( $wildcard ) X-Ref |
| \public \static \sa fileDeleteByRegex() |
| fileDeleteByDirList( $dirList, $commonPath, $commonSuffix ) X-Ref |
| \public \static |
| fileDelete( $path ) X-Ref |
| Deletes specified file/directory. If a directory specified it is deleted recursively. \public \static |
| delete() X-Ref |
| Deletes specified file/directory. If a directory specified it is deleted recursively. \public \static |
| fileDeleteLocal( $path ) X-Ref |
| Deletes a file that has been fetched before. \public \static |
| deleteLocal() X-Ref |
| Deletes a file that has been fetched before. \public |
| fileExists( $path ) X-Ref |
| Check if given file/dir exists. \public \static |
| exists() X-Ref |
| Check if given file/dir exists. NOTE: this function does not interact with database. Instead, it just returns existance status determined in the constructor. \public |
| passthrough() X-Ref |
| Outputs file contents prepending them with appropriate HTTP headers. \public |
| fileCopy( $srcPath, $dstPath ) X-Ref |
| Copy file. \public \static |
| fileLinkCopy( $srcPath, $dstPath, $symLink ) X-Ref |
| Create symbolic or hard link to file. \public \static |
| fileMove( $srcPath, $dstPath ) X-Ref |
| Move file. \public \static |
| move( $dstPath ) X-Ref |
| Move file. \public |
| getFileList( $skipBinaryFiles = false, $skipImages = false ) X-Ref |
| Get list of files stored in database. Used in bin/php/clusterize.php. |
| Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |