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

Public Member Functions

 BaseSubmissionFileManager ($contextId, $submissionId)
 getBasePath ()
 getSubmissionId ()
- Public Member Functions inherited from ContextFileManager
 ContextFileManager ($contextId)
 getBasePath ()
- Public Member Functions inherited from PrivateFileManager
 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)

Additional Inherited Members

- Public Attributes inherited from ContextFileManager
- Public Attributes inherited from PrivateFileManager

Detailed Description

Base helper class for submission file management tasks.

Submission directory structure: [submission id]/note [submission id]/public [submission id]/submission [submission id]/submission/original [submission id]/submission/review [submission id]/submission/review/attachment [submission id]/submission/editor [submission id]/submission/copyedit [submission id]/submission/layout [submission id]/attachment

Definition at line 30 of file

Member Function Documentation

BaseSubmissionFileManager::BaseSubmissionFileManager (   $contextId,



Definition at line 42 of file

BaseSubmissionFileManager::getBasePath ( )

Get the base path for file storage.

Definition at line 54 of file

BaseSubmissionFileManager::getSubmissionId ( )

Get the submission ID that this manager operates upon.

Definition at line 62 of file

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