Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
JournalFileManager Class Reference
Inheritance diagram for JournalFileManager:
FileManager

Public Member Functions

 JournalFileManager (&$journal)
 
- 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)
 

Detailed Description

Class defining operations for private journal file management.

Definition at line 19 of file JournalFileManager.inc.php.

Member Function Documentation

JournalFileManager::JournalFileManager ( $journal)

Constructor. Create a manager for handling journal file uploads.

Parameters
$journalIdint

Definition at line 35 of file JournalFileManager.inc.php.

References Config\getVar().


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