Open Journal Systems
3.3.0
AnnouncementType.inc.php
1
<?php
2
17
class
AnnouncementType
extends
DataObject
{
18
19
//
20
// Get/set methods
21
//
26
function
getAssocId
() {
27
return
$this->
getData
(
'assocId'
);
28
}
29
34
function
setAssocId
($assocId) {
35
$this->
setData
(
'assocId'
, $assocId);
36
}
37
42
function
getAssocType
() {
43
return
$this->
getData
(
'assocType'
);
44
}
45
50
function
setAssocType
($assocType) {
51
$this->
setData
(
'assocType'
, $assocType);
52
}
53
58
function
getLocalizedTypeName
() {
59
return
$this->
getLocalizedData
(
'name'
);
60
}
61
67
function
getName
($locale) {
68
return
$this->
getData
(
'name'
, $locale);
69
}
70
76
function
setName
($name, $locale) {
77
$this->
setData
(
'name'
, $name, $locale);
78
}
79
}
80
81
AnnouncementType
Basic class describing an announcement type.
Definition:
AnnouncementType.inc.php:17
DataObject\getData
& getData($key, $locale=null)
Definition:
DataObject.inc.php:100
DataObject\getLocalizedData
getLocalizedData($key, $preferredLocale=null)
Definition:
DataObject.inc.php:71
DataObject
Any class with an associated DAO should extend this class.
Definition:
DataObject.inc.php:18
AnnouncementType\getAssocId
getAssocId()
Definition:
AnnouncementType.inc.php:26
AnnouncementType\getLocalizedTypeName
getLocalizedTypeName()
Definition:
AnnouncementType.inc.php:58
AnnouncementType\getName
getName($locale)
Definition:
AnnouncementType.inc.php:67
AnnouncementType\setAssocType
setAssocType($assocType)
Definition:
AnnouncementType.inc.php:50
AnnouncementType\setName
setName($name, $locale)
Definition:
AnnouncementType.inc.php:76
AnnouncementType\getAssocType
getAssocType()
Definition:
AnnouncementType.inc.php:42
DataObject\setData
setData($key, $value, $locale=null)
Definition:
DataObject.inc.php:132
AnnouncementType\setAssocId
setAssocId($assocId)
Definition:
AnnouncementType.inc.php:34
lib
pkp
classes
announcement
AnnouncementType.inc.php
Generated on Fri Aug 28 2020 14:50:37 for Open Journal Systems by
1.8.17