Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PrivateFileManager Class Reference
Inheritance diagram for PrivateFileManager:
FileManager ContextFileManager PKPLibraryFileManager BaseSubmissionFileManager LibraryFileManager SimpleMonographFileManager

Public Member Functions

 getBasePath ()
 PrivateFileManager ()
- Public Member Functions inherited from FileManager
 copyDir ($source, $dest)
 copyFile ($source, $dest)
 deleteFile ($filePath)
 downloadFile ($filePath, $mediaType=null, $inline=false, $fileName=null)
 fileExists ($filePath, $type= 'file')
 FileManager ()
 getDocumentExtension ($type)
 getDocumentType ($type)
 getExtension ($fileName)
 getImageExtension ($type)
 getNiceFileSize ($size)
 getUploadedFileName ($fileName)
 getUploadedFilePath ($fileName)
 getUploadedFileType ($fileName)
 mkdir ($dirPath, $perms=null)
 mkdirtree ($dirPath, $perms=null)
 parseFileExtension ($fileName)
 readFile ($filePath, $output=false)
 rmdir ($dirPath)
 rmtree ($file)
 setMode ($path, $mask)
 truncateFileName ($fileName, $length=127)
 uploadedFileExists ($fileName)
 uploadError ($fileName)
 uploadFile ($fileName, $destFileName)
 writeFile ($dest, &$contents)

Public Attributes


Detailed Description

Class defining operations for private file management.

Definition at line 18 of file

Member Function Documentation

PrivateFileManager::getBasePath ( )

Get the base path for file storage.


Definition at line 35 of file

References Config\getVar().

Referenced by PrivateFileManager().

PrivateFileManager::PrivateFileManager ( )


Definition at line 26 of file

References getBasePath().

Member Data Documentation


var $filesDir

Definition at line 21 of file

The documentation for this class was generated from the following file: