Open Monograph Press
3.3.0
ControlledVocabEntry.inc.php
1
<?php
2
18
class
ControlledVocabEntry
extends
DataObject
{
19
20
//
21
// Get/set methods
22
//
23
28
function
getControlledVocabId
() {
29
return
$this->
getData
(
'controlledVocabId'
);
30
}
31
36
function
setControlledVocabId
($controlledVocabId) {
37
$this->
setData
(
'controlledVocabId'
, $controlledVocabId);
38
}
39
44
function
getSequence
() {
45
return
$this->
getData
(
'sequence'
);
46
}
47
52
function
setSequence
($sequence) {
53
$this->
setData
(
'sequence'
, $sequence);
54
}
55
60
function
getLocalizedName
() {
61
return
$this->
getLocalizedData
(
'name'
);
62
}
63
69
function
getName
($locale) {
70
return
$this->
getData
(
'name'
, $locale);
71
}
72
78
function
setName
($name, $locale) {
79
$this->
setData
(
'name'
, $name, $locale);
80
}
81
}
82
83
DataObject\getData
& getData($key, $locale=null)
Definition:
DataObject.inc.php:100
DataObject\getLocalizedData
getLocalizedData($key, $preferredLocale=null)
Definition:
DataObject.inc.php:71
ControlledVocabEntry\setSequence
setSequence($sequence)
Definition:
ControlledVocabEntry.inc.php:52
DataObject
Any class with an associated DAO should extend this class.
Definition:
DataObject.inc.php:18
ControlledVocabEntry\getName
getName($locale)
Definition:
ControlledVocabEntry.inc.php:69
ControlledVocabEntry\setName
setName($name, $locale)
Definition:
ControlledVocabEntry.inc.php:78
ControlledVocabEntry
Basic class describing a controlled vocab.
Definition:
ControlledVocabEntry.inc.php:18
ControlledVocabEntry\getSequence
getSequence()
Definition:
ControlledVocabEntry.inc.php:44
ControlledVocabEntry\getControlledVocabId
getControlledVocabId()
Definition:
ControlledVocabEntry.inc.php:28
ControlledVocabEntry\getLocalizedName
getLocalizedName()
Definition:
ControlledVocabEntry.inc.php:60
ControlledVocabEntry\setControlledVocabId
setControlledVocabId($controlledVocabId)
Definition:
ControlledVocabEntry.inc.php:36
DataObject\setData
setData($key, $value, $locale=null)
Definition:
DataObject.inc.php:132
lib
pkp
classes
controlledVocab
ControlledVocabEntry.inc.php
Generated on Fri Aug 28 2020 14:51:50 for Open Monograph Press by
1.8.17