4 * @defgroup submission_designer
8 * @file classes/submission/designer/DesignerSubmission.inc.php
10 * Copyright (c) 2003-2008 John Willinsky
11 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
13 * @class DesignerSubmission
14 * @ingroup submission_designer
15 * @see DesignerSubmissionDAO
17 * @brief Describes a designer's view of a submission
20 // $Id: DesignerSubmission.inc.php,v 1.5 2009/07/21 18:38:19 tylerl Exp $
23 import('monograph.Monograph');
25 class DesignerSubmission
extends Monograph
{
32 * Get design assignments for this monograph.
35 function &getProductionAssignments() {
36 $designAssignments =& $this->getData('productionAssignments');
37 return $designAssignments;
41 * Set design assignments for this monograph.
42 * @param $productionAssignments array
44 function setProductionAssignments(&$productionAssignments) {
45 return $this->setData('productionAssignments', $productionAssignments);
49 * Get the layout assignment for a monograph.
50 * @return LayoutAssignment
52 function &getLayoutAssignment() {
53 $layoutAssignment =& $this->getData('layoutAssignment');
54 return $layoutAssignment;
58 * Set the layout assignment for a monograph.
59 * @param $layoutAssignment Signoff
61 function setLayoutAssignment(&$layoutAssignment) {
62 return $this->setData('layoutAssignment', $layoutAssignment);
66 * Get the layout assignment for a monograph.
67 * @return LayoutAssignment
69 function &getProofAssignments() {
70 $proofAssignment =& $this->getData('proofAssignment');
71 return $proofAssignment;
75 * Set the layout assignment for a monograph.
76 * @param $layoutAssignment LayoutAssignment
78 function setProofAssignments(&$proofAssignment) {
79 return $this->setData('proofAssignment', $proofAssignment);
83 * Get the galleys for a monograph.
84 * @return array MonographGalley
86 function &getGalleys() {
87 $galleys =& $this->getData('galleys');
92 * Set the galleys for a monograph.
93 * @param $galleys array MonographGalley
95 function setGalleys(&$galleys) {
96 return $this->setData('galleys', $galleys);
100 * Get supplementary files for this monograph.
101 * @return array SuppFiles
103 function &getSuppFiles() {
104 $returner =& $this->getData('suppFiles');
109 * Set supplementary file for this monograph.
110 * @param $suppFiles array SuppFiles
112 function setSuppFiles($suppFiles) {
113 return $this->setData('suppFiles', $suppFiles);
117 // FIXME These should probably be in an abstract "Submission" base class
120 * Get edit assignments for this monograph.
123 function &getEditAssignments() {
124 $editAssignments =& $this->getData('editAssignments');
125 return $editAssignments;
129 * Set edit assignments for this monograph.
130 * @param $editAssignments array
132 function setEditAssignments($editAssignments) {
133 return $this->setData('editAssignments', $editAssignments);
141 * Get most recent layout comment.
142 * @return MonographComment
144 function getMostRecentLayoutComment() {
145 return $this->getData('mostRecentLayoutComment');
149 * Set most recent layout comment.
150 * @param $mostRecentLayoutComment MonographComment
152 function setMostRecentLayoutComment($mostRecentLayoutComment) {
153 return $this->setData('mostRecentLayoutComment', $mostRecentLayoutComment);
157 * Get the current layout file for a monograph.
158 * @return MonographFile
160 function &getLayoutFile() {
161 $layoutFile =& $this->getData('layoutFile');
166 * Set the layout file.
167 * @param $layoutFile MonographFile
169 function setLayoutFile(&$layoutFile) {
170 return $this->setData('layoutFile', $layoutFile);