PHP 클래스 IssueAction, ojs

또한 보기: Issue
파일 보기 프로젝트 열기: pkp/ojs 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor.
_roleAllowedPrePublicationAccess ( $journal ) : boolean Checks if this user is granted access to pre-publication galleys based on role based on their roles in the journal (i.e. Manager, Editor, etc).
allowedIssuePrePublicationAccess ( $journal ) : boolean Checks if this user is granted access to pre-publication issue galleys based on their roles in the journal (i.e. Manager, Editor, etc).
allowedPrePublicationAccess ( $journal, $article ) : boolean Checks if this user is granted reader access to pre-publication articles based on their roles in the journal (i.e. Manager, Editor, etc).
smartyPrintIssueId ( $params, &$smarty ) : string Smarty usage: {print_issue_id articleId="$articleId"}
subscribedDomain ( $journal, $issueId = null, $articleId = null ) : boolean Checks if remote client domain or ip is allowed
subscribedUser ( $journal, $issueId = null, $articleId = null ) : boolean Checks if user has subscription
subscriptionRequired ( &$issue, $journal = null ) : boolean Checks if subscription is required for viewing the issue

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( )

_roleAllowedPrePublicationAccess() 공개 메소드

Checks if this user is granted access to pre-publication galleys based on role based on their roles in the journal (i.e. Manager, Editor, etc).
public _roleAllowedPrePublicationAccess ( $journal ) : boolean
$journal object
리턴 boolean

allowedIssuePrePublicationAccess() 공개 메소드

Checks if this user is granted access to pre-publication issue galleys based on their roles in the journal (i.e. Manager, Editor, etc).
public allowedIssuePrePublicationAccess ( $journal ) : boolean
$journal object
리턴 boolean

allowedPrePublicationAccess() 공개 메소드

Checks if this user is granted reader access to pre-publication articles based on their roles in the journal (i.e. Manager, Editor, etc).
public allowedPrePublicationAccess ( $journal, $article ) : boolean
$journal object
$article object
리턴 boolean

smartyPrintIssueId() 공개 메소드

Custom Smarty function for printing the issue id
public smartyPrintIssueId ( $params, &$smarty ) : string
리턴 string

subscribedDomain() 공개 메소드

Checks if remote client domain or ip is allowed
public subscribedDomain ( $journal, $issueId = null, $articleId = null ) : boolean
리턴 boolean

subscribedUser() 공개 메소드

Checks if user has subscription
public subscribedUser ( $journal, $issueId = null, $articleId = null ) : boolean
리턴 boolean

subscriptionRequired() 공개 메소드

Checks if subscription is required for viewing the issue
public subscriptionRequired ( &$issue, $journal = null ) : boolean
$issue Issue
$journal Journal
리턴 boolean