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

Public Member Functions

 logEmail ($articleId, &$entry, $request=null)
 
 logEvent (&$request, &$article, $eventType, $messageKey, $params=array())
 
 logEventHeadless (&$journal, $userId, &$article, $eventType, $messageKey, $params=array())
 

Detailed Description

Static class for adding / accessing article log entries.

Definition at line 23 of file ArticleLog.inc.php.

Member Function Documentation

ArticleLog::logEmail (   $articleId,
$entry,
  $request = null 
)

Add an email log entry to this article.

Parameters
$articleIdint
$entryArticleEmailLogEntry
$requestobject

Definition at line 80 of file ArticleLog.inc.php.

References Core\getCurrentDate(), and DAORegistry\getDAO().

Referenced by ArticleMailTemplate\log().

ArticleLog::logEvent ( $request,
$article,
  $eventType,
  $messageKey,
  $params = array() 
)

Add a new event log entry with the specified parameters

Parameters
$requestobject
$articleobject
$eventTypeint
$messageKeystring
$paramsarray optional
Returns
object ArticleLogEntry iff the event was logged

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

References logEventHeadless().

Referenced by SectionEditorAction\addReviewer(), SectionEditorAction\archiveSubmission(), EditorAction\assignEditor(), SectionEditorAction\assignLayoutEditor(), SectionEditorAction\cancelReview(), SectionEditorAction\clearReview(), AuthorAction\completeAuthorCopyedit(), CopyeditorAction\completeCopyedit(), SectionEditorAction\completeCopyedit(), CopyeditorAction\completeFinalCopyedit(), SectionEditorAction\completeFinalCopyedit(), LayoutEditorAction\completeLayoutEditing(), ReviewerAction\confirmReview(), SectionEditorAction\confirmReviewForReviewer(), CopyeditorAction\copyeditUnderway(), AuthorSubmitStep5Form\execute(), EditorAction\expediteSubmission(), SectionEditorAction\rateReviewer(), SectionEditorAction\recordDecision(), ReviewerAction\recordRecommendation(), SectionEditorAction\restoreToQueue(), SectionEditorAction\resubmitFile(), Action\saveMetadata(), SectionEditorAction\selectCopyeditor(), ProofreaderAction\selectProofreader(), SectionEditorAction\setCopyeditFile(), SectionEditorAction\setDueDate(), SectionEditorAction\setReviewerRecommendation(), CopyeditorAction\uploadCopyeditVersion(), SectionEditorAction\uploadEditorVersion(), ReviewerAction\uploadReviewerVersion(), SectionEditorAction\uploadReviewForReviewer(), and AuthorAction\uploadRevisedVersion().

ArticleLog::logEventHeadless ( $journal,
  $userId,
$article,
  $eventType,
  $messageKey,
  $params = array() 
)

Add a new event log entry with the specified parameters

Parameters
$requestobject
$articleobject
$eventTypeint
$messageKeystring
$paramsarray optional
Returns
object ArticleLogEntry iff the event was logged

Definition at line 49 of file ArticleLog.inc.php.

References Core\getCurrentDate(), DAORegistry\getDAO(), and PKPRequest\getRemoteAddr().

Referenced by logEvent().


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