PHP Class JournalFileManager, ojs

Inheritance: extends BaseSubmissionFileManager
Datei anzeigen Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$journal the associated article

Public Methods

Method Description
__construct ( $journalId, $articleId ) Constructor.
deleteFile ( $fileName )
downloadFile ( $filePath, $fileType, $inline = false )
getBasePath ( ) : string Get the base path for file storage
uploadFile ( $fileName, $destFileName )

Method Details

__construct() public method

Constructor.
public __construct ( $journalId, $articleId )
$journalId int
$articleId int

deleteFile() public method

public deleteFile ( $fileName )

downloadFile() public method

public downloadFile ( $filePath, $fileType, $inline = false )

getBasePath() public method

Get the base path for file storage
public getBasePath ( ) : string
return string

uploadFile() public method

public uploadFile ( $fileName, $destFileName )

Property Details

$journal public_oe property

the associated article
public $journal