Public Member Functions | |
| allowedPrePublicationAccess (&$journal) | |
| getIssueOptions () | |
| IssueAction () | |
| smartyPrintIssueId ($params, &$smarty) | |
| subscribedDomain (&$journal, $issueId=null, $articleId=null) | |
| subscribedUser (&$journal, $issueId=null, $articleId=null) | |
| subscriptionRequired (&$issue) | |
Definition at line 19 of file IssueAction.inc.php.
| IssueAction.allowedPrePublicationAccess | ( | &$ | journal | ) |
Checks if this user is granted reader access to pre-publication articles based on their roles in the journal (i.e. Manager, Editor, etc).
| $journal | object |
Definition at line 79 of file IssueAction.inc.php.
References DAORegistry.getDAO(), and Request.getUser().
Referenced by subscribedUser(), and ArticleHandler.validate().
| IssueAction.getIssueOptions | ( | ) |
builds the issue options pulldown for published and unpublished issues
| $current | bool retrieve current or not | |
| $published | bool retrieve published or non-published issues |
Definition at line 180 of file IssueAction.inc.php.
References DAORegistry.getDAO(), Request.getJournal(), and Locale.translate().
Referenced by IssueManagementHandler.createIssue(), IssueManagementHandler.editIssue(), IssueManagementHandler.issueData(), IssueManagementHandler.issueToc(), and IssueManagementHandler.saveIssue().
| IssueAction.IssueAction | ( | ) |
Constructor.
Definition at line 24 of file IssueAction.inc.php.
| IssueAction.smartyPrintIssueId | ( | $ | params, | |
| &$ | smarty | |||
| ) |
Actions. Smarty usage: {print_issue_id articleId="$articleId"}
Custom Smarty function for printing the issue id
Definition at line 37 of file IssueAction.inc.php.
References DAORegistry.getDAO().
| IssueAction.subscribedDomain | ( | &$ | journal, | |
| $ | issueId = null, |
|||
| $ | articleId = null | |||
| ) |
Checks if remote client domain or ip is allowed
Definition at line 145 of file IssueAction.inc.php.
References HookRegistry.call(), DAORegistry.getDAO(), Request.getRemoteAddr(), and Request.getRemoteDomain().
Referenced by SearchHandler.authors(), IssueHandler.current(), ArticleSearch.formatResults(), IssueHandler.setupIssueTemplate(), ArticleHandler.validate(), and ArticleHandler.viewArticle().
| IssueAction.subscribedUser | ( | &$ | journal, | |
| $ | issueId = null, |
|||
| $ | articleId = null | |||
| ) |
Checks if user has subscription
Definition at line 106 of file IssueAction.inc.php.
References allowedPrePublicationAccess(), HookRegistry.call(), DAORegistry.getDAO(), and Request.getUser().
Referenced by SearchHandler.authors(), IssueHandler.current(), ArticleSearch.formatResults(), IssueHandler.setupIssueTemplate(), CommentHandler.validate(), ArticleHandler.validate(), and ArticleHandler.viewArticle().
| IssueAction.subscriptionRequired | ( | &$ | issue | ) |
Checks if subscription is required for viewing the issue
| $issue |
Definition at line 54 of file IssueAction.inc.php.
References HookRegistry.call(), DAORegistry.getDAO(), and Request.getJournal().
Referenced by SearchHandler.authors(), IssueHandler.current(), ArticleSearch.formatResults(), IssueHandler.setupIssueTemplate(), CommentHandler.validate(), ArticleHandler.validate(), and ArticleHandler.viewArticle().
1.5.6