|
Open Journal Systems
3.3.0
|
Additional Inherited Members | |
Data Fields inherited from DataObject | |
| $_data = array() | |
| $_extractionAdaptersLoaded = false | |
| $_hasLoadableAdapters = false | |
| $_injectionAdaptersLoaded = false | |
| $_metadataExtractionAdapters = array() | |
| $_metadataInjectionAdapters = array() | |
Base class for Publication.
Definition at line 17 of file PKPPublication.inc.php.
| PKPPublication::getAuthorString | ( | $userGroups | ) |
Combine author names and roles into a string
Eg - Daniel Barnes, Carlo Corino (Author); Alan Mwandenga (Translator)
| array | $userGroups | List of UserGroup objects |
Definition at line 130 of file PKPPublication.inc.php.
References DataObject\getData().
| PKPPublication::getEndingPage | ( | ) |
Get ending page of a this publication
Note the return type of string - this is not to be used for page counting.
Definition at line 249 of file PKPPublication.inc.php.
References getPageArray().
| PKPPublication::getFullTitles | ( | ) |
Return the combined prefix, title and subtitle for all locales
Definition at line 77 of file PKPPublication.inc.php.
References DataObject\getData(), and getLocalizedFullTitle().
| PKPPublication::getLocalizedData | ( | $key, | |
$preferredLocale = null |
|||
| ) |
Get localized data for this object.
It selects the locale in the following order:
| string | $key | |
| string | $preferredLocale |
Reimplemented from DataObject.
Definition at line 32 of file PKPPublication.inc.php.
References DataObject\getData(), and AppLocale\getLocale().
Referenced by Publication\getLocalizedCoverImageUrl(), getLocalizedFullTitle(), and getLocalizedTitle().
| PKPPublication::getLocalizedFullTitle | ( | $preferredLocale = null | ) |
Combine the localized title, prefix and subtitle
| string | $preferredLocale | Override the publication's default locale and return the title in a specified locale. |
Definition at line 63 of file PKPPublication.inc.php.
References PKPString\concatTitleFields(), getLocalizedData(), and getLocalizedTitle().
Referenced by getFullTitles().
| PKPPublication::getLocalizedTitle | ( | $preferredLocale = null | ) |
Combine the localized title and prefix
| string | $preferredLocale | Override the publication's default locale and return the title in a specified locale. |
Definition at line 96 of file PKPPublication.inc.php.
References getLocalizedData().
Referenced by getLocalizedFullTitle(), and getTitles().
| PKPPublication::getPageArray | ( | ) |
Get pages converted to a nested array of page ranges
For example, pages of "pp. ii-ix, 9,15-18,a2,b2-b6" will return:
[ ['ii', 'ix'], ['9'], ['15', '18'], ['a2'], ['b2', 'b6'], ]
Definition at line 271 of file PKPPublication.inc.php.
References DataObject\getData().
Referenced by getEndingPage(), and getStartingPage().
| PKPPublication::getPrimaryAuthor | ( | ) |
Get the primary contact
Definition at line 206 of file PKPPublication.inc.php.
References DataObject\getData().
| PKPPublication::getShortAuthorString | ( | ) |
Combine the author names into a shortened string
Eg - Barnes, et al.
Definition at line 181 of file PKPPublication.inc.php.
References DataObject\getData(), and AppLocale\requireComponents().
| PKPPublication::getStartingPage | ( | ) |
Get the starting page of this publication
Note the return type of string - this is not to be used for page counting.
Definition at line 232 of file PKPPublication.inc.php.
References getPageArray().
| PKPPublication::getStoredPubId | ( | $pubIdType | ) |
Get stored public ID of the publication
This helper function is required by PKPPubIdPlugins.
Definition at line 312 of file PKPPublication.inc.php.
References DataObject\getData().
| PKPPublication::getTitles | ( | ) |
Return the combined title and prefix for all locales
Definition at line 110 of file PKPPublication.inc.php.
References DataObject\getData(), and getLocalizedTitle().
| PKPPublication::isCCLicense | ( | ) |
Is the license for copyright on this publication a Creative Commons license?
Definition at line 302 of file PKPPublication.inc.php.
References DataObject\getData().
| PKPPublication::stampModified | ( | ) |
Stamp the date of the last modification to the current time.
Definition at line 220 of file PKPPublication.inc.php.
References Core\getCurrentDate(), and DataObject\setData().