PHP Class IssueAction, ojs

See also: Issue
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

Constructor.
public __construct ( )

_roleAllowedPrePublicationAccess() public méthode

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
Résultat boolean

allowedIssuePrePublicationAccess() public méthode

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
Résultat boolean

allowedPrePublicationAccess() public méthode

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
Résultat boolean

smartyPrintIssueId() public méthode

Custom Smarty function for printing the issue id
public smartyPrintIssueId ( $params, &$smarty ) : string
Résultat string

subscribedDomain() public méthode

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

subscribedUser() public méthode

Checks if user has subscription
public subscribedUser ( $journal, $issueId = null, $articleId = null ) : boolean
Résultat boolean

subscriptionRequired() public méthode

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