Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
SubmissionFileBaseAccessPolicy Class Reference
Inheritance diagram for SubmissionFileBaseAccessPolicy:
AuthorizationPolicy PKPSubmissionFileRequestedRevisionRequiredPolicy SubmissionFileAssignedAuditorAccessPolicy SubmissionFileAssignedReviewerAccessPolicy SubmissionFileMatchesSubmissionPolicy SubmissionFileSubmissionStageRequiredPolicy SubmissionFileUploaderAccessPolicy SubmissionFileViewableReviewerResponseRequiredPolicy SubmissionFileRequestedRevisionRequiredPolicy

Public Member Functions

_getCache ()
 getRequest ()
 getSubmissionFile ($request)
 SubmissionFileBaseAccessPolicy ($request, $fileIdAndRevision=null)
- Public Member Functions inherited from AuthorizationPolicy
 addAuthorizedContextObject ($assocType, &$authorizedObject)
 applies ()
 AuthorizationPolicy ($message=null)
 effect ()
getAdvice ($adviceType)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
 hasAdvice ($adviceType)
 hasAuthorizedContextObject ($assocType)
 setAdvice ($adviceType, &$adviceContent)
 setAuthorizedContext (&$authorizedContext)

Public Attributes

- Public Attributes inherited from AuthorizationPolicy
 $_advice = array()
 $_authorizedContext = array()

Detailed Description

Abstract class for submission file access policies.

Definition at line 18 of file

Member Function Documentation

& SubmissionFileBaseAccessPolicy::_getCache ( )

Get a cache of submission files. Used because many policy subclasses may be combined to fetch a single submission file.


Definition at line 52 of file

References $_fileIdAndRevision.

SubmissionFileBaseAccessPolicy::SubmissionFileBaseAccessPolicy (   $request,
  $fileIdAndRevision = null 


$fileIdAndRevisionstring If passed, this policy will try to get the submission file from this data.

Definition at line 37 of file

Member Data Documentation

string SubmissionFileBaseAccessPolicy::$_fileIdAndRevision

File id and revision, separated with a dash (e.g. 15-1)

Definition at line 29 of file

Referenced by _getCache().

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