Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($filterGroup) | |
createIssueNode ($doc, $pubObject) | |
createJournalIssueNode ($doc, $issue, $journalLocalePrecedence) | |
getClassName () | |
isWork ($context, $plugin) | |
& | process (&$pubObjects) |
![]() | |
createExtentNode ($doc, $file) | |
createHeadNode ($doc) | |
createIdentifierNode ($doc, $workOrProduct, $idType, $id) | |
createOtherTextNode ($doc, $locale, $description) | |
createPublisherNode ($doc, $journalLocalePrecedence) | |
createRelatedNode ($doc, $workOrProduct, $relationCode, $ids) | |
createRootNode ($doc, $rootNodeName) | |
createSerialPublicationNode ($doc, $journalLocalePrecedence, $epubFormat=null) | |
createSerialVersionNode ($doc, $issn, $productForm, $epubFormat=null) | |
createSerialWorkNode ($doc, $journalLocalePrecedence) | |
createTitleNode ($doc, $locale, $localizedTitle, $titleType) | |
getDOIStructuralType () | |
getObjectLocalePrecedence ($context, $article, $galley) | |
getPrimaryTranslation ($localizedData, $localePrecedence) | |
getRootNodeName () | |
getTranslationsByPrecedence ($localizedData, $localePrecedence) | |
translateLanguageToLocale ($language) | |
![]() | |
createLocalizedNodes ($doc, $parentNode, $name, $values) | |
createOptionalNode ($doc, $parentNode, $name, $value) | |
getNoValidation () | |
setNoValidation ($noValidation) | |
setOpts ($opts) | |
supports (&$input, &$output) | |
![]() | |
getDeployment () | |
setDeployment ($deployment) | |
![]() | |
addSetting ($setting) | |
getFilterGroup () | |
getInternalSettings () | |
getIsTemplate () | |
getLocalizedSettingNames () | |
getParentFilterId () | |
getSetting ($settingName) | |
getSettingNames () | |
& | getSettings () |
hasSetting ($settingName) | |
hasSettings () | |
setIsTemplate ($isTemplate) | |
setParentFilterId ($parentFilterId) | |
![]() | |
__construct ($inputType, $outputType) | |
addError ($message) | |
clearErrors () | |
& | execute (&$input, $returnErrors=false) |
getDisplayName () | |
getErrors () | |
& | getInputType () |
& | getLastInput () |
& | getLastOutput () |
& | getOutputType () |
& | getRuntimeEnvironment () |
getSequence () | |
hasErrors () | |
isCompatibleWithRuntimeEnvironment () | |
setDisplayName ($displayName) | |
setRuntimeEnvironment (&$runtimeEnvironment) | |
setSequence ($seq) | |
setTransformationType (&$inputType, &$outputType) | |
supportsAsInput (&$input) | |
![]() | |
__construct () | |
addSupportedMetadataAdapter ($metadataAdapter) | |
extractMetadata ($metadataSchema) | |
getAdditionalMetadataFieldNames () | |
& | getAllData () |
getDAO () | |
& | getData ($key, $locale=null) |
getHasLoadableAdapters () | |
getId () | |
getLocaleMetadataFieldNames () | |
getLocalizedData ($key, $preferredLocale=null) | |
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 | |
![]() | |
static | tempGroup ($inputType, $outputType) |
![]() | |
static | supportedRuntimeEnvironmentSettings () |
![]() | |
$_noValidation = null | |
$opts = array() | |
![]() | |
$_deployment | |
![]() | |
$_filterGroup | |
$_settings = array() | |
![]() | |
$_errors = array() | |
$_input | |
$_inputType | |
$_output | |
$_outputType | |
$_runtimeEnvironment = false | |
![]() | |
$_data = array() | |
$_extractionAdaptersLoaded = false | |
$_hasLoadableAdapters = false | |
$_injectionAdaptersLoaded = false | |
$_metadataExtractionAdapters = array() | |
$_metadataInjectionAdapters = array() | |
Class that converts an Issue as work or manifestation to a O4DOI XML document.
Definition at line 19 of file IssueMedraXmlFilter.inc.php.
IssueMedraXmlFilter::__construct | ( | $filterGroup | ) |
Constructor
$filterGroup | FilterGroup |
Reimplemented from O4DOIXmlFilter.
Definition at line 24 of file IssueMedraXmlFilter.inc.php.
References Filter\setDisplayName().
IssueMedraXmlFilter::createIssueNode | ( | $doc, | |
$pubObject | |||
) |
Create and return an issue node, either as work or as manifestation.
$doc | DOMDocument |
$pubObject | Issue |
Definition at line 84 of file IssueMedraXmlFilter.inc.php.
References O4DOIXmlFilter\createIdentifierNode(), createJournalIssueNode(), O4DOIXmlFilter\createOtherTextNode(), O4DOIXmlFilter\createRelatedNode(), O4DOIXmlFilter\createSerialPublicationNode(), PKPServices\get(), PKPApplication\get(), DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), O4DOIXmlFilter\getObjectLocalePrecedence(), O4DOIXmlFilter\getTranslationsByPrecedence(), isWork(), and PKPString\regexp_replace().
Referenced by process().
IssueMedraXmlFilter::createJournalIssueNode | ( | $doc, | |
$issue, | |||
$journalLocalePrecedence | |||
) |
Create the journal issue node.
$doc | DOMDocument |
$issue | Issue |
$journalLocalePrecedence | array |
Reimplemented from O4DOIXmlFilter.
Definition at line 173 of file IssueMedraXmlFilter.inc.php.
References O4DOIXmlFilter\createExtentNode(), O4DOIXmlFilter\createTitleNode(), DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), O4DOIXmlFilter\getTranslationsByPrecedence(), and isWork().
Referenced by createIssueNode().
IssueMedraXmlFilter::getClassName | ( | ) |
Return the fully qualified class name of the filter class. This information must be persisted when saving a filter so that the filter can later be reconstructed from the information in the database.
(This must be hard coded by sub-classes for PHP4 compatibility. PHP4 always returns class names lowercase which we cannot tolerate as we need this path to find the class on case sensitive file systems.)
Reimplemented from PersistableFilter.
Definition at line 42 of file IssueMedraXmlFilter.inc.php.
IssueMedraXmlFilter::isWork | ( | $context, | |
$plugin | |||
) |
Get whether the object exported is considered as work
$context | Context |
$plugin | DOIPubIdExportPlugin |
Reimplemented from O4DOIXmlFilter.
Definition at line 32 of file IssueMedraXmlFilter.inc.php.
Referenced by createIssueNode(), createJournalIssueNode(), and process().
& IssueMedraXmlFilter::process | ( | & | $pubObjects | ) |
$pubObjects | array Array of Issues |
Reimplemented from Filter.
Definition at line 54 of file IssueMedraXmlFilter.inc.php.
References O4DOIXmlFilter\createHeadNode(), createIssueNode(), O4DOIXmlFilter\createRootNode(), NativeImportExportFilter\getDeployment(), and isWork().