Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
Monograph.inc.php
1 <?php
2 
21 define('WORK_TYPE_EDITED_VOLUME', 1);
22 define('WORK_TYPE_AUTHORED_WORK', 2);
23 
24 import('lib.pkp.classes.submission.Submission');
25 import('classes.monograph.Author');
26 
27 class Monograph extends Submission {
33  function Monograph() {
34  parent::Submission();
35  }
36 
41  function getPressId() {
42  return $this->getContextId();
43  }
44 
49  function setPressId($pressId) {
50  return $this->setContextId($pressId);
51  }
52 
57  function getSeriesId() {
58  return $this->getSectionId();
59  }
60 
64  function getSectionId() {
65  return $this->getData('seriesId');
66  }
67 
72  function setSeriesId($id) {
73  $this->setData('seriesId', $id);
74  }
75 
80  function getSeriesTitle() {
81  return $this->getData('seriesTitle');
82  }
83 
88  function setSeriesTitle($title) {
89  $this->setData('seriesTitle', $title);
90  }
91 
96  function getSeriesAbbrev() {
97  return $this->getData('seriesAbbrev');
98  }
99 
104  function setSeriesAbbrev($abbrev) {
105  $this->setData('seriesAbbrev', $abbrev);
106  }
107 
112  function getSeriesPosition() {
113  return $this->getData('seriesPosition');
114  }
115 
120  function setSeriesPosition($seriesPosition) {
121  $this->setData('seriesPosition', $seriesPosition);
122  }
123 
128  function getWorkType() {
129  return $this->getData('workType');
130  }
131 
136  function setWorkType($workType) {
137  $this->setData('workType', $workType);
138  }
139 
145  return $this->getLocalizedData('supportingAgencies');
146  }
147 
153  function getSupportingAgencies($locale) {
154  return $this->getData('supportingAgencies', $locale);
155  }
156 
162  function setSupportingAgencies($title, $locale) {
163  return $this->setData('supportingAgencies', $title, $locale);
164  }
165 
171  function isMetadataApproved() {
172  return (boolean) $this->getDatePublished();
173  }
174 }
175 
176 ?>
setWorkType($workType)
Class for a Monograph.
setContextId($contextId)
getSupportingAgencies($locale)
setPressId($pressId)
setSeriesAbbrev($abbrev)
setSupportingAgencies($title, $locale)
setSeriesId($id)
& getData($key, $locale=null)
setSeriesTitle($title)
& getLocalizedData($key, $preferredLocale=null)
setData($key, $value, $locale=null)
getLocalizedSupportingAgencies()
The Submission class implements the abstract data model of a scholarly submission.
setSeriesPosition($seriesPosition)