|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($filterGroup) | |
| _buildTextNode ($doc, $nodeName, $textContent) | |
| _createExtentNode ($doc, $deployment, $type, $extentValue, $extentUnit) | |
| _createMeasurementNode ($doc, $deployment, $type, $measurement, $unitCode) | |
| createHeaderNode ($doc, $submission) | |
| createProductNode ($doc, $submission, $publicationFormat) | |
| getClassName () | |
| & | process (&$monograph) |
Public Member Functions inherited from NativeExportFilter | |
| createLocalizedNodes ($doc, $parentNode, $name, $values) | |
| createOptionalNode ($doc, $parentNode, $name, $value) | |
| getNoValidation () | |
| setNoValidation ($noValidation) | |
| setOpts ($opts) | |
| supports (&$input, &$output) | |
Public Member Functions inherited from NativeImportExportFilter | |
| getDeployment () | |
| setDeployment ($deployment) | |
Public Member Functions inherited from PersistableFilter | |
| addSetting ($setting) | |
| getFilterGroup () | |
| getInternalSettings () | |
| getIsTemplate () | |
| getLocalizedSettingNames () | |
| getParentFilterId () | |
| getSetting ($settingName) | |
| getSettingNames () | |
| & | getSettings () |
| hasSetting ($settingName) | |
| hasSettings () | |
| setIsTemplate ($isTemplate) | |
| setParentFilterId ($parentFilterId) | |
Public Member Functions inherited from Filter | |
| __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) | |
Public Member Functions inherited from DataObject | |
| __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) | |
Data Fields | |
| $_doc | |
Data Fields inherited from NativeExportFilter | |
| $_noValidation = null | |
| $opts = array() | |
Data Fields inherited from NativeImportExportFilter | |
| $_deployment | |
Data Fields inherited from PersistableFilter | |
| $_filterGroup | |
| $_settings = array() | |
Data Fields inherited from Filter | |
| $_errors = array() | |
| $_input | |
| $_inputType | |
| $_output | |
| $_outputType | |
| $_runtimeEnvironment = false | |
Data Fields inherited from DataObject | |
| $_data = array() | |
| $_extractionAdaptersLoaded = false | |
| $_hasLoadableAdapters = false | |
| $_injectionAdaptersLoaded = false | |
| $_metadataExtractionAdapters = array() | |
| $_metadataInjectionAdapters = array() | |
Additional Inherited Members | |
Static Public Member Functions inherited from PersistableFilter | |
| static | tempGroup ($inputType, $outputType) |
Static Public Member Functions inherited from Filter | |
| static | supportedRuntimeEnvironmentSettings () |
Base class that converts a monograph to an ONIX 3.0 document.
Definition at line 18 of file MonographONIX30XmlFilter.inc.php.
| MonographONIX30XmlFilter::__construct | ( | $filterGroup | ) |
Constructor
| $filterGroup | FilterGroup |
Reimplemented from NativeExportFilter.
Definition at line 27 of file MonographONIX30XmlFilter.inc.php.
References Filter\setDisplayName().
| MonographONIX30XmlFilter::_buildTextNode | ( | $doc, | |
| $nodeName, | |||
| $textContent | |||
| ) |
Convenience method for building a node with text content.
| DOMDocument | $doc | |
| string | $nodeName | |
| string | $textContent |
Definition at line 768 of file MonographONIX30XmlFilter.inc.php.
References NativeImportExportFilter\getDeployment().
Referenced by createHeaderNode(), and createProductNode().
| MonographONIX30XmlFilter::_createExtentNode | ( | $doc, | |
| $deployment, | |||
| $type, | |||
| $extentValue, | |||
| $extentUnit | |||
| ) |
Convenience method for building an Extent node.
| DOMDocument | $doc | |
| ONIX30ExportDeployment | $deployment | |
| string | $type | |
| string | $extentValue | |
| string | $extentUnit |
Definition at line 742 of file MonographONIX30XmlFilter.inc.php.
Referenced by createProductNode().
| MonographONIX30XmlFilter::_createMeasurementNode | ( | $doc, | |
| $deployment, | |||
| $type, | |||
| $measurement, | |||
| $unitCode | |||
| ) |
Convenience method for building a Measure node.
| DOMDocument | $doc | |
| ONIX30ExportDeployment | $deployment | |
| string | $type | |
| string | $measurement | |
| string | $unitCode |
Definition at line 714 of file MonographONIX30XmlFilter.inc.php.
Referenced by createProductNode().
| MonographONIX30XmlFilter::createHeaderNode | ( | $doc, | |
| $submission | |||
| ) |
Create and return a node representing the ONIX Header metadata for this submission.
| $doc | DOMDocument |
| $submission | Submission |
Definition at line 87 of file MonographONIX30XmlFilter.inc.php.
References _buildTextNode(), and NativeImportExportFilter\getDeployment().
Referenced by process().
| MonographONIX30XmlFilter::createProductNode | ( | $doc, | |
| $submission, | |||
| $publicationFormat | |||
| ) |
Create and return a node representing the ONIX Product metadata for this submission.
| $doc | DOMDocument |
| $submission | Submission |
| $publicationFormat | PublicationFormat |
Definition at line 121 of file MonographONIX30XmlFilter.inc.php.
References _buildTextNode(), _createExtentNode(), _createMeasurementNode(), PKPApplication\get(), DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), AppLocale\getSupportedFormLocales(), and PluginRegistry\loadCategory().
Referenced by process().
| MonographONIX30XmlFilter::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 39 of file MonographONIX30XmlFilter.inc.php.
| & MonographONIX30XmlFilter::process | ( | & | $monograph | ) |
| $monograph | Monograph the monograph to export |
Reimplemented from Filter.
Definition at line 52 of file MonographONIX30XmlFilter.inc.php.
References createHeaderNode(), createProductNode(), and NativeImportExportFilter\getDeployment().
| MonographONIX30XmlFilter::$_doc |
var $_doc DOMDocument
Definition at line 21 of file MonographONIX30XmlFilter.inc.php.