Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
IssueAction Class Reference

Public Member Functions

 _roleAllowedPrePublicationAccess ($journal)
 
 allowedIssuePrePublicationAccess ($journal)
 
 allowedPrePublicationAccess (&$journal, &$article)
 
 getIssueOptions ()
 
 IssueAction ()
 
 smartyPrintIssueId ($params, &$smarty)
 
 subscribedDomain (&$journal, $issueId=null, $articleId=null)
 
 subscribedDomain (&$journal, $issueId=null, $articleId=null)
 
 subscribedUser (&$journal, $issueId=null, $articleId=null)
 
 subscribedUser (&$journal, $issueId=null, $articleId=null)
 
 subscriptionRequired (&$issue)
 
 subscriptionRequired (&$issue, $journal=null)
 

Detailed Description

IssueAction class.

a mock issue action.

See Also
Issue

Definition at line 17 of file IssueAction.inc.php.

Member Function Documentation

IssueAction::_roleAllowedPrePublicationAccess (   $journal)

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).

Parameters
$journalobject
$issueobject
Returns
bool

Definition at line 226 of file IssueAction.inc.php.

References DAORegistry\getDAO(), and PKPRequest\getUser().

Referenced by allowedIssuePrePublicationAccess(), and allowedPrePublicationAccess().

IssueAction::allowedIssuePrePublicationAccess (   $journal)

Checks if this user is granted access to pre-publication issue galleys based on their roles in the journal (i.e. Manager, Editor, etc).

Parameters
$journalobject
$issueobject
Returns
bool

Definition at line 108 of file IssueAction.inc.php.

References _roleAllowedPrePublicationAccess().

Referenced by IssueHandler\validate().

IssueAction::allowedPrePublicationAccess ( $journal,
$article 
)

Checks if this user is granted reader access to pre-publication articles based on their roles in the journal (i.e. Manager, Editor, etc).

Parameters
$journalobject
$articleobject
Returns
bool

Definition at line 83 of file IssueAction.inc.php.

References _roleAllowedPrePublicationAccess(), DAORegistry\getDAO(), PKPRequest\getUser(), and Validation\isAuthor().

Referenced by subscribedUser(), and ArticleHandler\validate().

IssueAction::getIssueOptions ( )

builds the issue options pulldown for published and unpublished issues

Parameters
$currentbool retrieve current or not
$publishedbool retrieve published or non-published issues

Definition at line 190 of file IssueAction.inc.php.

References DAORegistry\getDAO(), and Request\getJournal().

Referenced by IssueManagementHandler\createIssue(), QuickSubmitForm\display(), IssueManagementHandler\editIssue(), IssueManagementHandler\issueData(), IssueManagementHandler\issueGalleys(), IssueManagementHandler\issueToc(), IssueManagementHandler\saveIssue(), and SubmissionEditHandler\submissionEditing().

IssueAction::IssueAction ( )

Constructor.

Definition at line 22 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

Returns
string

Definition at line 35 of file IssueAction.inc.php.

References DAORegistry\getDAO().

IssueAction::subscribedDomain ( $journal,
  $issueId = null,
  $articleId = null 
)
See Also
IssueAction::subscribedDomain()

Definition at line 33 of file MockIssueAction.inc.php.

IssueAction::subscribedDomain ( $journal,
  $issueId = null,
  $articleId = null 
)
IssueAction::subscribedUser ( $journal,
  $issueId = null,
  $articleId = null 
)
See Also
IssueAction::subscribedUser()

Definition at line 26 of file MockIssueAction.inc.php.

IssueAction::subscribedUser ( $journal,
  $issueId = null,
  $articleId = null 
)
IssueAction::subscriptionRequired ( $issue)
See Also
IssueAction::subscriptionRequired()

Definition at line 19 of file MockIssueAction.inc.php.

IssueAction::subscriptionRequired ( $issue,
  $journal = null 
)

The documentation for this class was generated from the following files: