Open Preprint Systems  3.3.0
Section.inc.php
1 <?php
2 
17 import('lib.pkp.classes.context.PKPSection');
18 
19 class Section extends PKPSection {
20 
25  function getLocalizedAbbrev() {
26  return $this->getLocalizedData('abbrev');
27  }
28 
34  return $this->getLocalizedData('description');
35  }
36 
37  //
38  // Get/set methods
39  //
40 
45  function getJournalId() {
46  return $this->getContextId();
47  }
48 
53  function setJournalId($journalId) {
54  return $this->setContextId($journalId);
55  }
56 
62  function getAbbrev($locale) {
63  return $this->getData('abbrev', $locale);
64  }
65 
71  function setAbbrev($abbrev, $locale) {
72  return $this->setData('abbrev', $abbrev, $locale);
73  }
74 
80  function getPath() {
81  return $this->getData('path');
82  }
83 
88  function setPath($path) {
89  return $this->setData('path', $path);
90  }
91 
97  function getDescription($locale) {
98  return $this->getData('description', $locale);
99  }
100 
106  function setDescription($description, $locale) {
107  $this->setData('description', $description, $locale);
108  }
109 
114  function getAbstractWordCount() {
115  return $this->getData('wordCount');
116  }
117 
122  function setAbstractWordCount($wordCount) {
123  return $this->setData('wordCount', $wordCount);
124  }
125 
130  function getMetaIndexed() {
131  return $this->getData('metaIndexed');
132  }
133 
138  function setMetaIndexed($metaIndexed) {
139  return $this->setData('metaIndexed', $metaIndexed);
140  }
141 
146  function getMetaReviewed() {
147  return $this->getData('metaReviewed');
148  }
149 
154  function setMetaReviewed($metaReviewed) {
155  return $this->setData('metaReviewed', $metaReviewed);
156  }
157 
163  return $this->getData('abstractsNotRequired');
164  }
165 
170  function setAbstractsNotRequired($abstractsNotRequired) {
171  return $this->setData('abstractsNotRequired', $abstractsNotRequired);
172  }
173 
179  return $this->getLocalizedData('identifyType');
180  }
181 
187  function getIdentifyType($locale) {
188  return $this->getData('identifyType', $locale);
189  }
190 
196  function setIdentifyType($identifyType, $locale) {
197  return $this->setData('identifyType', $identifyType, $locale);
198  }
199 
204  function getHideTitle() {
205  return $this->getData('hideTitle');
206  }
207 
212  function setHideTitle($hideTitle) {
213  return $this->setData('hideTitle', $hideTitle);
214  }
215 
220  function getHideAuthor() {
221  return $this->getData('hideAuthor');
222  }
223 
228  function setHideAuthor($hideAuthor) {
229  return $this->setData('hideAuthor', $hideAuthor);
230  }
231 
236  function getIsInactive() {
237  return $this->getData('isInactive');
238  }
239 
244  function setIsInactive($isInactive) {
245  $this->setData('isInactive', $isInactive);
246  }
247 }
DataObject\getData
& getData($key, $locale=null)
Definition: DataObject.inc.php:100
DataObject\getLocalizedData
getLocalizedData($key, $preferredLocale=null)
Definition: DataObject.inc.php:71
Section\getLocalizedDescription
getLocalizedDescription()
Definition: Section.inc.php:33
Section\getJournalId
getJournalId()
Definition: Section.inc.php:45
Section\setAbbrev
setAbbrev($abbrev, $locale)
Definition: Section.inc.php:71
Section\getHideAuthor
getHideAuthor()
Definition: Section.inc.php:220
Section\setAbstractWordCount
setAbstractWordCount($wordCount)
Definition: Section.inc.php:122
Section\setMetaIndexed
setMetaIndexed($metaIndexed)
Definition: Section.inc.php:138
Section\getDescription
getDescription($locale)
Definition: Section.inc.php:97
Section\setHideTitle
setHideTitle($hideTitle)
Definition: Section.inc.php:212
Section\getLocalizedAbbrev
getLocalizedAbbrev()
Definition: Section.inc.php:25
Section\setIdentifyType
setIdentifyType($identifyType, $locale)
Definition: Section.inc.php:196
Section\getHideTitle
getHideTitle()
Definition: Section.inc.php:204
Section\setAbstractsNotRequired
setAbstractsNotRequired($abstractsNotRequired)
Definition: Section.inc.php:170
Section\getAbstractsNotRequired
getAbstractsNotRequired()
Definition: Section.inc.php:162
Section\getPath
getPath()
Definition: Section.inc.php:80
Section\setMetaReviewed
setMetaReviewed($metaReviewed)
Definition: Section.inc.php:154
Section\setJournalId
setJournalId($journalId)
Definition: Section.inc.php:53
Section\getIsInactive
getIsInactive()
Definition: Section.inc.php:236
Section\setIsInactive
setIsInactive($isInactive)
Definition: Section.inc.php:244
Section\getLocalizedIdentifyType
getLocalizedIdentifyType()
Definition: Section.inc.php:178
Section\getIdentifyType
getIdentifyType($locale)
Definition: Section.inc.php:187
Section\getAbbrev
getAbbrev($locale)
Definition: Section.inc.php:62
PKPSection\setContextId
setContextId($contextId)
Definition: PKPSection.inc.php:30
Section\setHideAuthor
setHideAuthor($hideAuthor)
Definition: Section.inc.php:228
PKPSection\getContextId
getContextId()
Definition: PKPSection.inc.php:22
PKPSection
Describes basic section properties.
Definition: PKPSection.inc.php:16
Section\getMetaIndexed
getMetaIndexed()
Definition: Section.inc.php:130
Section
Describes basic section properties.
Definition: Section.inc.php:19
Section\getMetaReviewed
getMetaReviewed()
Definition: Section.inc.php:146
DataObject\setData
setData($key, $value, $locale=null)
Definition: DataObject.inc.php:132
Section\getAbstractWordCount
getAbstractWordCount()
Definition: Section.inc.php:114
Section\setDescription
setDescription($description, $locale)
Definition: Section.inc.php:106
Section\setPath
setPath($path)
Definition: Section.inc.php:88