Open Journal Systems
3.3.0
|
Public Member Functions | |
getAffiliation ($locale) | |
getBiography ($locale) | |
getCountry () | |
getCountryLocalized () | |
getEmail () | |
getFamilyName ($locale) | |
getFullName ($preferred=true, $familyFirst=false, $defaultLocale=null) | |
getGivenName ($locale) | |
getLocalizedAffiliation () | |
getLocalizedBiography () | |
& | getLocalizedData ($key, $preferredLocale=null) |
getLocalizedFamilyName ($defaultLocale=null) | |
getLocalizedGivenName ($defaultLocale=null) | |
getOrcid () | |
getPreferredPublicName ($locale) | |
getUrl () | |
setAffiliation ($affiliation, $locale) | |
setBiography ($biography, $locale) | |
setCountry ($country) | |
setEmail ($email) | |
setFamilyName ($familyName, $locale) | |
setGivenName ($givenName, $locale) | |
setOrcid ($orcid) | |
setPreferredPublicName ($preferredPublicName, $locale) | |
setUrl ($url) | |
Public Member Functions inherited from DataObject | |
__construct () | |
addSupportedMetadataAdapter ($metadataAdapter) | |
extractMetadata ($metadataSchema) | |
getAdditionalMetadataFieldNames () | |
& | getAllData () |
getDAO () | |
& | getData ($key, $locale=null) |
getHasLoadableAdapters () | |
getId () | |
getLocaleMetadataFieldNames () | |
getMetadataFieldNames ($translated=true) | |
getSetMetadataFieldNames ($translated=true) | |
getSupportedExtractionAdapters () | |
getSupportedInjectionAdapters () | |
getSupportedMetadataSchemas () | |
hasData ($key, $locale=null) | |
injectMetadata ($metadataDescription) | |
removeSupportedMetadataAdapter ($metadataSchemaName) | |
setAllData (&$data) | |
setData ($key, $value, $locale=null) | |
setHasLoadableAdapters ($hasLoadableAdapters) | |
setId ($id) | |
unsetData ($key, $locale=null) | |
upcastTo ($targetObject) | |
Additional Inherited Members | |
Data Fields inherited from DataObject | |
$_data = array() | |
$_extractionAdaptersLoaded = false | |
$_hasLoadableAdapters = false | |
$_injectionAdaptersLoaded = false | |
$_metadataExtractionAdapters = array() | |
$_metadataInjectionAdapters = array() | |
Basic class providing common functionality for users and authors in the system.
Definition at line 25 of file Identity.inc.php.
Identity::getAffiliation | ( | $locale | ) |
Get affiliation (position, institution, etc.).
$locale | string |
Definition at line 191 of file Identity.inc.php.
References DataObject\getData().
Identity::getBiography | ( | $locale | ) |
Get biography.
$locale | string |
Definition at line 300 of file Identity.inc.php.
References DataObject\getData().
Identity::getCountry | ( | ) |
Get country code (ISO 3166-1 two-letter codes)
Definition at line 247 of file Identity.inc.php.
References DataObject\getData().
Referenced by getCountryLocalized().
Identity::getCountryLocalized | ( | ) |
Get localized country
Definition at line 255 of file Identity.inc.php.
References getCountry().
Identity::getEmail | ( | ) |
Get email address.
Definition at line 215 of file Identity.inc.php.
References DataObject\getData().
Referenced by User\getContactSignature().
Identity::getFamilyName | ( | $locale | ) |
Get family name.
$locale | string |
Definition at line 128 of file Identity.inc.php.
References DataObject\getData().
Referenced by getFullName(), and getLocalizedFamilyName().
Identity::getFullName | ( | $preferred = true , |
|
$familyFirst = false , |
|||
$defaultLocale = null |
|||
) |
Get the identity's localized complete name. Includes given name and family name.
$preferred | boolean If the preferred public name should be used, if exist |
$familyFirst | boolean False / default: Givenname Familyname If true: Familyname, Givenname |
$defaultLocale | string |
Reimplemented in PKPAuthor.
Definition at line 72 of file Identity.inc.php.
References PKPApplication\get(), getFamilyName(), getGivenName(), AppLocale\getLocale(), and getPreferredPublicName().
Referenced by User\getContactSignature().
Identity::getGivenName | ( | $locale | ) |
Get given name.
$locale | string |
Definition at line 102 of file Identity.inc.php.
References DataObject\getData().
Referenced by getFullName(), and getLocalizedFamilyName().
Identity::getLocalizedAffiliation | ( | ) |
Get the localized affiliation
Definition at line 207 of file Identity.inc.php.
References getLocalizedData().
Referenced by User\getContactSignature().
Identity::getLocalizedBiography | ( | ) |
Get the localized biography
Definition at line 291 of file Identity.inc.php.
References getLocalizedData().
& Identity::getLocalizedData | ( | $key, | |
$preferredLocale = null |
|||
) |
Get a piece of data for this object, localized to the current locale if possible.
$key | string |
$preferredLocale | string |
Reimplemented from DataObject.
Reimplemented in PKPAuthor.
Definition at line 34 of file Identity.inc.php.
References PKPApplication\get(), DataObject\getData(), AppLocale\getLocale(), and AppLocale\getPrimaryLocale().
Referenced by getLocalizedAffiliation(), getLocalizedBiography(), getLocalizedGivenName(), and User\getLocalizedSignature().
Identity::getLocalizedFamilyName | ( | $defaultLocale = null | ) |
Get the localized family name Return family name for the locale first name exists in
$defaultLocale | string |
Reimplemented in PKPAuthor.
Definition at line 147 of file Identity.inc.php.
References PKPApplication\get(), getFamilyName(), getGivenName(), and AppLocale\getLocale().
Identity::getLocalizedGivenName | ( | $defaultLocale = null | ) |
Get the localized given name
Reimplemented in PKPAuthor.
Definition at line 119 of file Identity.inc.php.
References getLocalizedData().
Identity::getOrcid | ( | ) |
Get ORCID identifier
Definition at line 231 of file Identity.inc.php.
References DataObject\getData().
Identity::getPreferredPublicName | ( | $locale | ) |
Get preferred public name.
$locale | string |
Definition at line 173 of file Identity.inc.php.
References DataObject\getData().
Referenced by getFullName().
Identity::getUrl | ( | ) |
Get URL.
Definition at line 275 of file Identity.inc.php.
References DataObject\getData().
Identity::setAffiliation | ( | $affiliation, | |
$locale | |||
) |
Set affiliation.
$affiliation | string |
$locale | string |
Definition at line 200 of file Identity.inc.php.
References DataObject\setData().
Identity::setBiography | ( | $biography, | |
$locale | |||
) |
Set biography.
$biography | string |
$locale | string |
Definition at line 309 of file Identity.inc.php.
References DataObject\setData().
Identity::setCountry | ( | $country | ) |
Set country code (ISO 3166-1 two-letter codes)
$country | string |
Definition at line 267 of file Identity.inc.php.
References DataObject\setData().
Identity::setEmail | ( | ) |
Set email address.
string |
Definition at line 223 of file Identity.inc.php.
References DataObject\setData().
Identity::setFamilyName | ( | $familyName, | |
$locale | |||
) |
Set family name.
$familyName | string |
$locale | string |
Definition at line 137 of file Identity.inc.php.
References DataObject\setData().
Identity::setGivenName | ( | $givenName, | |
$locale | |||
) |
Set given name.
$givenName | string |
$locale | string |
Definition at line 111 of file Identity.inc.php.
References DataObject\setData().
Identity::setOrcid | ( | $orcid | ) |
Set ORCID identifier.
$orcid | string |
Definition at line 239 of file Identity.inc.php.
References DataObject\setData().
Identity::setPreferredPublicName | ( | $preferredPublicName, | |
$locale | |||
) |
Set preferred public name.
$preferredPublicName | string |
$locale | string |
Definition at line 182 of file Identity.inc.php.
References DataObject\setData().
Identity::setUrl | ( | $url | ) |
Set URL.
$url | string |
Definition at line 283 of file Identity.inc.php.
References DataObject\setData().