Open Journal Systems
3.3.0
|
32 return $this->
getData(
'assocId');
40 $this->
setData(
'assocId', $assocId);
48 return $this->
getData(
'assocType');
56 $this->
setData(
'assocType', $assocType);
64 return $this->
getData(
'typeId');
72 $this->
setData(
'typeId', $typeId);
81 return $announcementTypeDao->getAnnouncementTypeName($this->
getData(
'typeId'));
100 if (!empty($typeName)) {
101 return $typeName .
': ' . $title;
113 return $this->
getData(
'title', $locale);
122 $this->
setData(
'title', $title, $locale);
139 return $this->
getData(
'descriptionShort', $locale);
148 $this->
setData(
'descriptionShort', $descriptionShort, $locale);
165 return $this->
getData(
'description', $locale);
174 $this->
setData(
'description', $description, $locale);
182 return $this->
getData(
'dateExpire');
190 $this->
setData(
'dateExpire', $dateExpire);
198 return date(
'Y-m-d', strtotime($this->
getData(
'datePosted')));
206 return $this->
getData(
'datePosted');
214 $this->
setData(
'datePosted', $datePosted);
222 $this->
setData(
'datePosted', $datetimePosted);
getLocalizedDescription()
& getData($key, $locale=null)
getLocalizedData($key, $preferredLocale=null)
Any class with an associated DAO should extend this class.
static & getDAO($name, $dbconn=null)
getDescriptionShort($locale)
setDatePosted($datePosted)
setDatetimePosted($datetimePosted)
setDescription($description, $locale)
getAnnouncementTypeName()
Basic class describing a announcement.
setDescriptionShort($descriptionShort, $locale)
getLocalizedDescriptionShort()
setData($key, $value, $locale=null)
setDateExpire($dateExpire)
setTitle($title, $locale)