Open Journal Systems  3.3.0
SubmissionEmailLogEntry.inc.php
1 <?php
2 
17 import('lib.pkp.classes.log.EmailLogEntry');
18 
19 // General events 0x10000000
20 
21 // Author events 0x20000000
22 define('SUBMISSION_EMAIL_AUTHOR_NOTIFY_REVISED_VERSION', 0x20000001);
23 
24 // Editor events 0x30000000
25 define('SUBMISSION_EMAIL_EDITOR_NOTIFY_AUTHOR', 0x30000001);
26 define('SUBMISSION_EMAIL_EDITOR_ASSIGN', 0x30000002);
27 define('SUBMISSION_EMAIL_EDITOR_NOTIFY_AUTHOR_UNSUITABLE', 0x30000003);
28 define('SUBMISSION_EMAIL_EDITOR_RECOMMEND_NOTIFY', 0x30000004);
29 
30 // Reviewer events 0x40000000
31 define('SUBMISSION_EMAIL_REVIEW_NOTIFY_REVIEWER', 0x40000001);
32 define('SUBMISSION_EMAIL_REVIEW_THANK_REVIEWER', 0x40000002);
33 define('SUBMISSION_EMAIL_REVIEW_CANCEL', 0x40000003);
34 define('SUBMISSION_EMAIL_REVIEW_REMIND', 0x40000004);
35 define('SUBMISSION_EMAIL_REVIEW_CONFIRM', 0x40000005);
36 define('SUBMISSION_EMAIL_REVIEW_DECLINE', 0x40000006);
37 define('SUBMISSION_EMAIL_REVIEW_CONFIRM_ACK', 0x40000008);
38 
39 // Copyeditor events 0x50000000
40 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_COPYEDITOR', 0x50000001);
41 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_AUTHOR', 0x50000002);
42 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_FINAL', 0x50000003);
43 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_COMPLETE', 0x50000004);
44 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_AUTHOR_COMPLETE', 0x50000005);
45 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_FINAL_COMPLETE', 0x50000006);
46 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_ACKNOWLEDGE', 0x50000007);
47 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_AUTHOR_ACKNOWLEDGE', 0x50000008);
48 define('SUBMISSION_EMAIL_COPYEDIT_NOTIFY_FINAL_ACKNOWLEDGE', 0x50000009);
49 
50 // Proofreader events 0x60000000
51 define('SUBMISSION_EMAIL_PROOFREAD_NOTIFY_AUTHOR', 0x60000001);
52 define('SUBMISSION_EMAIL_PROOFREAD_NOTIFY_AUTHOR_COMPLETE', 0x60000002);
53 define('SUBMISSION_EMAIL_PROOFREAD_THANK_AUTHOR', 0x60000003);
54 define('SUBMISSION_EMAIL_PROOFREAD_NOTIFY_PROOFREADER', 0x60000004);
55 define('SUBMISSION_EMAIL_PROOFREAD_NOTIFY_PROOFREADER_COMPLETE', 0x60000005);
56 define('SUBMISSION_EMAIL_PROOFREAD_THANK_PROOFREADER', 0x60000006);
57 define('SUBMISSION_EMAIL_PROOFREAD_NOTIFY_LAYOUTEDITOR', 0x60000007);
58 define('SUBMISSION_EMAIL_PROOFREAD_NOTIFY_LAYOUTEDITOR_COMPLETE',0x60000008);
59 define('SUBMISSION_EMAIL_PROOFREAD_THANK_LAYOUTEDITOR', 0x60000009);
60 
61 // Layout events 0x70000000
62 define('SUBMISSION_EMAIL_LAYOUT_NOTIFY_EDITOR', 0x70000001);
63 define('SUBMISSION_EMAIL_LAYOUT_THANK_EDITOR', 0x70000002);
64 define('SUBMISSION_EMAIL_LAYOUT_NOTIFY_COMPLETE', 0x70000003);
65 
71  function setSubmissionId($submissionId) {
72  return $this->setAssocId($submissionId);
73  }
74 
79  function getSubmissionId() {
80  return $this->getAssocId();
81  }
82 }
83 
84 
SubmissionEmailLogEntry\getSubmissionId
getSubmissionId()
Definition: SubmissionEmailLogEntry.inc.php:79
EmailLogEntry\getAssocId
getAssocId()
Definition: EmailLogEntry.inc.php:92
EmailLogEntry
Describes an entry in the email log.
Definition: EmailLogEntry.inc.php:18
SubmissionEmailLogEntry\setSubmissionId
setSubmissionId($submissionId)
Definition: SubmissionEmailLogEntry.inc.php:71
SubmissionEmailLogEntry
Base class for describing an entry in the submission email log.
Definition: SubmissionEmailLogEntry.inc.php:66
EmailLogEntry\setAssocId
setAssocId($assocId)
Definition: EmailLogEntry.inc.php:100