PHP 클래스 SubmissionFileBaseAccessPolicy, pkp-lib

상속: extends AuthorizationPolicy
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_fileIdAndRevision File id and revision, separated with a dash (e.g. 15-1)
$_request PKPRequest

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $request, $fileIdAndRevision = null )
$request PKPRequest
$fileIdAndRevision string If passed, this policy will try to get the submission file from this data.

_getCache() 공개 메소드

Get a cache of submission files. Used because many policy subclasses may be combined to fetch a single submission file.
public _getCache ( ) : array
리턴 array

getRequest() 공개 메소드

Get the current request object.
public getRequest ( ) : PKPRequest
리턴 PKPRequest

getSubmissionFile() 공개 메소드

Get the requested submission file.
public getSubmissionFile ( $request ) : SubmissionFile
$request PKPRequest
리턴 SubmissionFile

프로퍼티 상세

$_fileIdAndRevision 공개적으로 프로퍼티

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

$_request 공개적으로 프로퍼티

public PKPRequest $_request
리턴 PKPRequest