baseline
[omp.pkp.sfu.ca.git] / classes / submission / proofreader / ProofreaderSubmission.inc.php
blob97fdfa8932f186e981c376536d0de4ed92be1428
1 <?php
3 /**
4 * @defgroup submission_proofreader
5 */
7 /**
8 * @file classes/submission/proofreader/ProofreaderSubmission.inc.php
10 * Copyright (c) 2003-2009 John Willinsky
11 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
13 * @class ProofreaderSubmission
14 * @ingroup submission_proofreader
15 * @see ProofreaderSubmissionDAO
17 * @brief Describes a proofreader's view of a submission
20 // $Id: ProofreaderSubmission.inc.php,v 1.2 2009/06/09 23:37:14 tylerl Exp $
23 import('monograph.Monograph');
25 class ProofreaderSubmission extends Monograph {
27 /**
28 * Constructor.
30 function ProofreaderSubmission() {
31 parent::Monograph();
35 // Get/set methods
38 /**
39 * Get most recent layout comment.
40 * @return MonographComment
42 function getMostRecentLayoutComment() {
43 return $this->getData('mostRecentLayoutComment');
46 /**
47 * Set most recent layout comment.
48 * @param $mostRecentLayoutComment MonographComment
50 function setMostRecentLayoutComment($mostRecentLayoutComment) {
51 return $this->setData('mostRecentLayoutComment', $mostRecentLayoutComment);
54 /**
55 * Get supplementary files for this monograph.
56 * @return array SuppFiles
58 function &getSuppFiles() {
59 $returner =& $this->getData('suppFiles');
60 return $returner;
63 /**
64 * Set supplementary file for this monograph.
65 * @param $suppFiles array SuppFiles
67 function setSuppFiles($suppFiles) {
68 return $this->setData('suppFiles', $suppFiles);
72 /**
73 * Get the galleys for a monograph.
74 * @return array MonographGalley
76 function &getGalleys() {
77 $galleys =& $this->getData('galleys');
78 return $galleys;
81 /**
82 * Set the galleys for a monograph.
83 * @param $galleys array MonographGalley
85 function setGalleys(&$galleys) {
86 return $this->setData('galleys', $galleys);
89 /**
90 * Get most recent proofread comment.
91 * @return MonographComment
93 function getMostRecentProofreadComment() {
94 return $this->getData('mostRecentProofreadComment');
97 /**
98 * Set most recent proofread comment.
99 * @param $mostRecentProofreadComment MonographComment
101 function setMostRecentProofreadComment($mostRecentProofreadComment) {
102 return $this->setData('mostRecentProofreadComment', $mostRecentProofreadComment);
106 * Get edit assignments for this monograph.
107 * @return array
109 function &getEditAssignments() {
110 $editAssignments =& $this->getData('editAssignments');
111 return $editAssignments;
115 * Set edit assignments for this monograph.
116 * @param $editAssignments array
118 function setEditAssignments($editAssignments) {
119 return $this->setData('editAssignments', $editAssignments);