PHP 클래스 SubmissionFileAccessPolicy, pkp-lib

상속: extends ContextPolicy
파일 보기 프로젝트 열기: pkp/pkp-lib

공개 프로퍼티들

프로퍼티 타입 설명
$_baseFileAccessPolicy var $_baseFileAccessPolicy the base file file policy before _SUB_EDITOR is considered

공개 메소드들

메소드 설명
__construct ( $request, $args, $roleAssignments, $mode, $fileIdAndRevision = null, $submissionParameterName = 'submissionId' ) Constructor
buildFileAccessPolicy ( PKPRequest $request, array $args, array $roleAssignments, $mode, string $fileIdAndRevision, string $submissionParameterName )

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $request, $args, $roleAssignments, $mode, $fileIdAndRevision = null, $submissionParameterName = 'submissionId' )
$request PKPRequest
$args array request parameters
$roleAssignments array
$mode int bitfield SUBMISSION_FILE_ACCESS_...
$fileIdAndRevision string
$submissionParameterName string the request parameter we expect the submission id in.

buildFileAccessPolicy() 공개 메소드

public buildFileAccessPolicy ( PKPRequest $request, array $args, array $roleAssignments, $mode, string $fileIdAndRevision, string $submissionParameterName )
$request PKPRequest
$args array
$roleAssignments array
$fileIdAndRevision string
$submissionParameterName string

프로퍼티 상세

$_baseFileAccessPolicy 공개적으로 프로퍼티

var $_baseFileAccessPolicy the base file file policy before _SUB_EDITOR is considered
public $_baseFileAccessPolicy