Open Monograph Press
3.3.0
PKPSubmissionEventLogEntry.inc.php
1
<?php
2
17
import
(
'lib.pkp.classes.log.EventLogEntry'
);
18
22
define(
'SUBMISSION_LOG_TYPE_DEFAULT'
, 0);
23
define(
'SUBMISSION_LOG_TYPE_AUTHOR'
, 0x01);
24
define(
'SUBMISSION_LOG_TYPE_EDITOR'
, 0x02);
25
define(
'SUBMISSION_LOG_TYPE_REVIEW'
, 0x03);
26
define(
'SUBMISSION_LOG_TYPE_COPYEDIT'
, 0x04);
27
define(
'SUBMISSION_LOG_TYPE_LAYOUT'
, 0x05);
28
define(
'SUBMISSION_LOG_TYPE_PROOFREAD'
, 0x06);
29
define(
'SUBMISSION_LOG_ADD_ALLOWED_AUTHOR_EDIT_STAGE'
, 0x07);
30
31
// General events 0x10000000
32
define(
'SUBMISSION_LOG_SUBMISSION_SUBMIT'
, 0x10000001);
33
define(
'SUBMISSION_LOG_METADATA_UPDATE'
, 0x10000002);
34
define(
'SUBMISSION_LOG_ADD_PARTICIPANT'
, 0x10000003);
35
define(
'SUBMISSION_LOG_REMOVE_PARTICIPANT'
, 0x10000004);
36
37
define(
'SUBMISSION_LOG_METADATA_PUBLISH'
, 0x10000006);
38
define(
'SUBMISSION_LOG_METADATA_UNPUBLISH'
, 0x10000007);
39
40
define(
'SUBMISSION_LOG_CREATE_VERSION'
, 0x10000008);
41
42
// Editor events
43
define(
'SUBMISSION_LOG_EDITOR_DECISION'
, 0x30000003);
44
define(
'SUBMISSION_LOG_EDITOR_RECOMMENDATION'
, 0x30000004);
45
46
// Reviewer events 0x40000000
47
define(
'SUBMISSION_LOG_REVIEW_ASSIGN'
, 0x40000001);
48
define(
'SUBMISSION_LOG_REVIEW_REINSTATED'
, 0x40000005);
49
50
define(
'SUBMISSION_LOG_REVIEW_ACCEPT'
, 0x40000006);
51
define(
'SUBMISSION_LOG_REVIEW_DECLINE'
, 0x40000007);
52
define(
'SUBMISSION_LOG_REVIEW_UNCONSIDERED'
, 0x40000009);
53
54
define(
'SUBMISSION_LOG_REVIEW_SET_DUE_DATE'
, 0x40000011);
55
56
define(
'SUBMISSION_LOG_REVIEW_CLEAR'
, 0x40000014);
57
58
define(
'SUBMISSION_LOG_REVIEW_READY'
, 0x40000018);
59
define(
'SUBMISSION_LOG_REVIEW_CONFIRMED'
, 0x40000019);
60
61
// Deletion of the last revision of a file
62
define(
'SUBMISSION_LOG_LAST_REVISION_DELETED'
, 0x50000003);
63
64
// Production events
65
define(
'SUBMISSION_LOG_PROOFS_APPROVED'
, 0x50000008);
66
67
class
PKPSubmissionEventLogEntry
extends
EventLogEntry
{
68
69
//
70
// Getters/setters
71
//
76
function
setSubmissionId
($submissionId) {
77
return
$this->
setAssocId
($submissionId);
78
}
79
80
85
function
getSubmissionId
() {
86
return
$this->
getAssocId
();
87
}
88
89
94
function
getAssocType
() {
95
return
ASSOC_TYPE_SUBMISSION;
96
}
97
}
98
99
PKPSubmissionEventLogEntry
Describes an entry in the submission history log.
Definition:
PKPSubmissionEventLogEntry.inc.php:67
EventLogEntry\getAssocId
getAssocId()
Definition:
EventLogEntry.inc.php:95
PKPSubmissionEventLogEntry\getSubmissionId
getSubmissionId()
Definition:
PKPSubmissionEventLogEntry.inc.php:85
PKPSubmissionEventLogEntry\getAssocType
getAssocType()
Definition:
PKPSubmissionEventLogEntry.inc.php:94
EventLogEntry\setAssocId
setAssocId($assocId)
Definition:
EventLogEntry.inc.php:103
EventLogEntry
Describes an entry in the event log.
Definition:
EventLogEntry.inc.php:21
PKPSubmissionEventLogEntry\setSubmissionId
setSubmissionId($submissionId)
Definition:
PKPSubmissionEventLogEntry.inc.php:76
lib
pkp
classes
log
PKPSubmissionEventLogEntry.inc.php
Generated on Fri Aug 28 2020 14:53:20 for Open Monograph Press by
1.8.17