Open Monograph Press
3.3.0
|
Additional Inherited Members | |
![]() | |
$_data = array() | |
$_extractionAdaptersLoaded = false | |
$_hasLoadableAdapters = false | |
$_injectionAdaptersLoaded = false | |
$_metadataExtractionAdapters = array() | |
$_metadataInjectionAdapters = array() | |
Describes a monograph chapter (or section)
Definition at line 17 of file Chapter.inc.php.
Chapter::__construct | ( | ) |
Chapter::getAbstract | ( | $locale = null | ) |
Get abstract of chapter (primary locale)
$locale | string |
Definition at line 202 of file Chapter.inc.php.
References DataObject\getData().
Chapter::getAuthorNamesAsString | ( | $preferred = true | ) |
Get the author names for this chapter and return them as a string.
$preferred | boolean If the preferred public name should be used, if exist |
Definition at line 159 of file Chapter.inc.php.
References getAuthors().
Chapter::getAuthors | ( | ) |
Get all authors of this chapter.
Definition at line 149 of file Chapter.inc.php.
References DAORegistry\getDAO(), DataObject\getData(), and DataObject\getId().
Referenced by getAuthorNamesAsString().
Chapter::getDAO | ( | ) |
Get DAO class name for this object.
Reimplemented from DataObject.
Definition at line 193 of file Chapter.inc.php.
References DAORegistry\getDAO().
Chapter::getDatePublished | ( | ) |
get date published
Definition at line 225 of file Chapter.inc.php.
References DataObject\getData().
Chapter::getLocalizedAbstract | ( | ) |
Get localized abstract of a chapter.
Definition at line 217 of file Chapter.inc.php.
References getLocalizedData().
Chapter::getLocalizedData | ( | $key, | |
$preferredLocale = null |
|||
) |
Get localized data for this object.
It selects the locale in the following order:
the first locale we find data for
string | $key | |
string | $preferredLocale |
Reimplemented from DataObject.
Definition at line 44 of file Chapter.inc.php.
References DataObject\getData(), and AppLocale\getLocale().
Referenced by getLocalizedAbstract(), getLocalizedSubtitle(), and getLocalizedTitle().
Chapter::getLocalizedFullTitle | ( | ) |
Get the chapter full title (with title and subtitle).
Definition at line 68 of file Chapter.inc.php.
References PKPString\concatTitleFields(), getLocalizedSubtitle(), and getLocalizedTitle().
Chapter::getLocalizedSubtitle | ( | ) |
Get localized sub title of a chapter.
Definition at line 107 of file Chapter.inc.php.
References getLocalizedData().
Referenced by getLocalizedFullTitle().
Chapter::getLocalizedTitle | ( | ) |
Get localized title of a chapter.
Definition at line 82 of file Chapter.inc.php.
References getLocalizedData().
Referenced by getLocalizedFullTitle().
Chapter::getPages | ( | ) |
get pages
Definition at line 241 of file Chapter.inc.php.
References DataObject\getData().
Chapter::getSequence | ( | ) |
Get sequence of chapter.
Definition at line 133 of file Chapter.inc.php.
References DataObject\getData().
Chapter::getStoredPubId | ( | $pubIdType | ) |
Get stored public ID of the chapter.
Definition at line 175 of file Chapter.inc.php.
References DataObject\getData().
Chapter::getSubtitle | ( | $locale = null | ) |
Get sub title of chapter (primary locale)
$locale | string |
Definition at line 116 of file Chapter.inc.php.
References DataObject\getData().
Chapter::getTitle | ( | $locale = null | ) |
Get title of chapter (primary locale)
$locale | string |
Definition at line 91 of file Chapter.inc.php.
References DataObject\getData().
Chapter::setAbstract | ( | $abstract, | |
$locale = null |
|||
) |
Set abstract of chapter
$abstract | string |
$locale | string |
Definition at line 211 of file Chapter.inc.php.
References DataObject\setData().
Chapter::setDatePublished | ( | $datePublished | ) |
set date published
$datePublished | date |
Definition at line 233 of file Chapter.inc.php.
References DataObject\setData().
Chapter::setPages | ( | $pages | ) |
set pages
$pages | string |
Definition at line 249 of file Chapter.inc.php.
References DataObject\setData().
Chapter::setSequence | ( | $sequence | ) |
Set sequence of chapter.
$sequence | float |
Definition at line 141 of file Chapter.inc.php.
References DataObject\setData().
Chapter::setStoredPubId | ( | $pubIdType, | |
$pubId | |||
) |
Set the stored public ID of the chapter.
$pubIdType | string One of the NLM pub-id-type values or 'other::something' if not part of the official NLM list (see http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html). |
$pubId | string |
Definition at line 186 of file Chapter.inc.php.
References DataObject\setData().
Chapter::setSubtitle | ( | $subtitle, | |
$locale = null |
|||
) |
Set sub title of chapter
$subtitle | string |
$locale | string |
Definition at line 125 of file Chapter.inc.php.
References DataObject\setData().
Chapter::setTitle | ( | $title, | |
$locale = null |
|||
) |
Set title of chapter
$title | string |
$locale | string |
Definition at line 100 of file Chapter.inc.php.
References DataObject\setData().