17 import(
'lib.pkp.classes.identity.Identity');
30 $localePrecedence = array($preferredLocale);
36 foreach ($localePrecedence as $locale) {
37 if (empty($locale))
continue;
38 $value =& $this->
getData($key, $locale);
39 if (!empty($value))
return $value;
44 $data =& $this->
getData($key,
null);
45 foreach ((array) $data as $dataValue) {
46 if (!empty($dataValue))
return $dataValue;
61 return parent::getLocalizedGivenName($defaultLocale);
70 return parent::getLocalizedFamilyName($defaultLocale);
76 function getFullName($preferred =
true, $familyFirst =
false, $defaultLocale =
null) {
78 return parent::getFullName($preferred, $familyFirst, $defaultLocale);
90 return $this->
getData(
'submissionId');
98 $this->
setData(
'submissionId', $submissionId);
106 return $this->
getData(
'submissionLocale');
114 return $this->
setData(
'submissionLocale', $submissionLocale);
122 $this->
setData(
'userGroupId', $userGroupId);
130 return $this->
getData(
'userGroupId');
138 $this->
setData(
'includeInBrowse', $include);
146 return $this->
getData(
'includeInBrowse');
156 return $this->
getData(
'showTitle');
165 $this->
setData(
'showTitle', $showTitle);
173 return $this->
getData(
'primaryContact');
181 $this->
setData(
'primaryContact', $primaryContact);
197 $this->
setData(
'seq', $sequence);
206 if (!$userGroup || $this->
getUserGroupId() != $userGroup->getId()) {
219 return $userGroup->getLocalizedName();