00001 <?php 00002 00016 // $Id: AnnouncementType.inc.php,v 1.9 2008/07/01 01:16:09 asmecher Exp $ 00017 00018 00019 class AnnouncementType extends DataObject { 00020 // 00021 // Get/set methods 00022 // 00023 00028 function getTypeId() { 00029 return $this->getData('typeId'); 00030 } 00031 00036 function setTypeId($typeId) { 00037 return $this->setData('typeId', $typeId); 00038 } 00039 00044 function getJournalId() { 00045 return $this->getData('journalId'); 00046 } 00047 00052 function setJournalId($journalId) { 00053 return $this->setData('journalId', $journalId); 00054 } 00055 00060 function getAnnouncementTypeName() { 00061 return $this->getLocalizedData('name'); 00062 } 00063 00069 function getName($locale) { 00070 return $this->getData('name', $locale); 00071 } 00072 00078 function setName($name, $locale) { 00079 return $this->setData('name', $name, $locale); 00080 } 00081 00082 } 00083 00084 ?>
1.5.6