Property | Type | Description | |
---|---|---|---|
$_fileIdAndRevision | File id and revision, separated with a dash (e.g. 15-1) | ||
$_request | PKPRequest |
Method | Description | |
---|---|---|
__construct ( $request, $fileIdAndRevision = null ) | Constructor | |
_getCache ( ) : array | Get a cache of submission files. Used because many policy subclasses may be combined to fetch a single submission file. | |
getRequest ( ) : PKPRequest | Get the current request object. | |
getSubmissionFile ( $request ) : SubmissionFile | Get the requested submission file. |
public __construct ( $request, $fileIdAndRevision = null ) | ||
$request | PKPRequest | |
$fileIdAndRevision | string If passed, this policy will try to get the submission file from this data. |
public getRequest ( ) : PKPRequest | ||
return | PKPRequest |
public getSubmissionFile ( $request ) : SubmissionFile | ||
$request | PKPRequest | |
return | SubmissionFile |
public $_fileIdAndRevision |