Open Journal Systems
3.3.0
|
Data Fields | |
$_submissionFile | |
Data Fields inherited from DataObject | |
$_data = array() | |
$_extractionAdaptersLoaded = false | |
$_hasLoadableAdapters = false | |
$_injectionAdaptersLoaded = false | |
$_metadataExtractionAdapters = array() | |
$_metadataInjectionAdapters = array() | |
A galley is a final presentation version of the full-text of an article.
Definition at line 19 of file ArticleGalley.inc.php.
ArticleGalley::getBestGalleyId | ( | ) |
Return the "best" article ID – If a public article ID is set, use it; otherwise use the internal article Id.
Definition at line 81 of file ArticleGalley.inc.php.
References DataObject\getData(), and DataObject\getId().
ArticleGalley::getFile | ( | ) |
Get the submission file corresponding to this galley.
Definition at line 107 of file ArticleGalley.inc.php.
References $_submissionFile, DAORegistry\getDAO(), and getFileId().
Referenced by getFileType().
ArticleGalley::getFileId | ( | ) |
Get file id
Definition at line 99 of file ArticleGalley.inc.php.
References DataObject\getData().
Referenced by getFile(), and getViews().
ArticleGalley::getFileType | ( | ) |
Get the file type corresponding to this galley.
Definition at line 119 of file ArticleGalley.inc.php.
References getFile().
Referenced by isPdfGalley().
ArticleGalley::getGalleyLabel | ( | ) |
Get the localized galley label.
Definition at line 136 of file ArticleGalley.inc.php.
References PKPLocale\getAllLocales(), getLabel(), AppLocale\getLocale(), and getLocale().
ArticleGalley::getLabel | ( | ) |
Get label/title.
Definition at line 48 of file ArticleGalley.inc.php.
References DataObject\getData().
Referenced by getGalleyLabel(), getLocalizedName(), and getName().
ArticleGalley::getLocale | ( | ) |
Get locale.
Definition at line 64 of file ArticleGalley.inc.php.
References DataObject\getData().
Referenced by getGalleyLabel(), and getName().
ArticleGalley::getLocalizedName | ( | ) |
Override the parent class to fetch the non-localized label.
Reimplemented from Representation.
Definition at line 163 of file ArticleGalley.inc.php.
References getLabel().
ArticleGalley::getName | ( | $locale | ) |
This override exists to provide a functional getName() in order to make native XML export work correctly. It is only used in that single instance.
$locale | string unused, except to match the function prototype in Representation. |
Reimplemented from Representation.
Definition at line 154 of file ArticleGalley.inc.php.
References getLabel(), and getLocale().
ArticleGalley::getViews | ( | ) |
Get views count.
Definition at line 34 of file ArticleGalley.inc.php.
References $application, PKPApplication\get(), and getFileId().
ArticleGalley::isPdfGalley | ( | ) |
Determine whether the galley is a PDF.
Definition at line 128 of file ArticleGalley.inc.php.
References getFileType().
ArticleGalley::setFileId | ( | $fileId | ) |
Set file ID.
$fileId | int |
Definition at line 91 of file ArticleGalley.inc.php.
References DataObject\setData().
ArticleGalley::setLabel | ( | $label | ) |
Set label/title.
$label | string |
Definition at line 56 of file ArticleGalley.inc.php.
References DataObject\setData().
ArticleGalley::setLocale | ( | $locale | ) |
Set locale.
$locale | string |
Definition at line 72 of file ArticleGalley.inc.php.
References DataObject\setData().
SubmissionFile ArticleGalley::$_submissionFile |
Definition at line 24 of file ArticleGalley.inc.php.
Referenced by getFile().