Open Journal Systems
3.3.0
|
Additional Inherited Members | |
Static Public Member Functions inherited from PersistableFilter | |
static | tempGroup ($inputType, $outputType) |
Static Public Member Functions inherited from Filter | |
static | supportedRuntimeEnvironmentSettings () |
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() | |
Base class that converts a Native XML document to a set of issues.
Definition at line 18 of file NativeXmlIssueFilter.inc.php.
NativeXmlIssueFilter::__construct | ( | $filterGroup | ) |
Constructor
$filterGroup | FilterGroup |
Reimplemented from NativeImportFilter.
Definition at line 23 of file NativeXmlIssueFilter.inc.php.
References Filter\setDisplayName().
NativeXmlIssueFilter::_getDateIssueSetterMappings | ( | ) |
Get node name to setter function mapping for issue date fields.
Definition at line 402 of file NativeXmlIssueFilter.inc.php.
Referenced by handleChildElement().
NativeXmlIssueFilter::_getLocalizedIssueSetterMappings | ( | ) |
Get node name to setter function mapping for localized data.
Definition at line 392 of file NativeXmlIssueFilter.inc.php.
Referenced by handleChildElement().
NativeXmlIssueFilter::_issueExists | ( | $node | ) |
Check if the issue already exists.
$node | DOMNode issue node return Issue|null matching issue, or null if no match |
Definition at line 416 of file NativeXmlIssueFilter.inc.php.
References DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), and parseIssueIdentification().
Referenced by handleElement().
NativeXmlIssueFilter::_sectionExist | ( | $importSection | ) |
Check if the section already exists.
$importSection | Section New created section |
Definition at line 437 of file NativeXmlIssueFilter.inc.php.
References DAORegistry\getDAO(), and NativeImportExportFilter\getDeployment().
Referenced by parseSection().
NativeXmlIssueFilter::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 35 of file NativeXmlIssueFilter.inc.php.
NativeXmlIssueFilter::getPluralElementName | ( | ) |
Return the plural element name
Reimplemented from NativeImportFilter.
Definition at line 47 of file NativeXmlIssueFilter.inc.php.
NativeXmlIssueFilter::getSingularElementName | ( | ) |
Get the singular element name
Reimplemented from NativeImportFilter.
Definition at line 55 of file NativeXmlIssueFilter.inc.php.
NativeXmlIssueFilter::handleChildElement | ( | $n, | |
$issue, | |||
$processOnlyChildren | |||
) |
Handle an element whose parent is the issue element.
$n | DOMElement |
$issue | Issue |
$processOnlyChildren | boolean Do not modify the issue itself, only generate child objects |
Definition at line 105 of file NativeXmlIssueFilter.inc.php.
References _getDateIssueSetterMappings(), _getLocalizedIssueSetterMappings(), NativeImportExportFilter\getDeployment(), parseArticles(), parseIdentifier(), parseIssueGalleys(), parseIssueIdentification(), NativeImportFilter\parseLocalizedContent(), and parseSections().
Referenced by handleElement().
NativeXmlIssueFilter::handleElement | ( | $node | ) |
Handle a singular element import.
$node | DOMElement |
Reimplemented from NativeImportFilter.
Definition at line 64 of file NativeXmlIssueFilter.inc.php.
References _issueExists(), DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), and handleChildElement().
NativeXmlIssueFilter::parseArticle | ( | $n, | |
$issue | |||
) |
Parse an article and add it to the issue.
$n | DOMElement |
$issue | Issue |
Definition at line 252 of file NativeXmlIssueFilter.inc.php.
References DAORegistry\getDAO(), and NativeImportExportFilter\getDeployment().
Referenced by parseArticles().
NativeXmlIssueFilter::parseArticles | ( | $node, | |
$issue | |||
) |
Parse an articles element
$node | DOMElement |
$issue | Issue |
Definition at line 232 of file NativeXmlIssueFilter.inc.php.
References NativeImportExportFilter\getDeployment(), and parseArticle().
Referenced by handleChildElement().
NativeXmlIssueFilter::parseIdentifier | ( | $element, | |
$issue | |||
) |
Parse an identifier node and set up the issue object accordingly
$element | DOMElement |
$issue | Issue |
Definition at line 169 of file NativeXmlIssueFilter.inc.php.
References NativeImportExportFilter\getDeployment(), and PluginRegistry\loadCategory().
Referenced by handleChildElement().
NativeXmlIssueFilter::parseIssueGalley | ( | $n, | |
$issue | |||
) |
Parse an issue galley and add it to the issue.
$n | DOMElement |
$issue | Issue |
Definition at line 216 of file NativeXmlIssueFilter.inc.php.
References DAORegistry\getDAO(), and NativeImportExportFilter\getDeployment().
Referenced by parseIssueGalleys().
NativeXmlIssueFilter::parseIssueGalleys | ( | $node, | |
$issue | |||
) |
Parse an articles element
$node | DOMElement |
$issue | Issue |
Definition at line 196 of file NativeXmlIssueFilter.inc.php.
References NativeImportExportFilter\getDeployment(), and parseIssueGalley().
Referenced by handleChildElement().
NativeXmlIssueFilter::parseIssueIdentification | ( | $node, | |
$issue, | |||
$allowWarnings = true |
|||
) |
Parse out the issue identification and store it in an issue.
$node | DOMElement |
$issue | Issue |
$allowWarnings | boolean Warnings should be suppressed if this function is not being used to populate a new issue |
Definition at line 352 of file NativeXmlIssueFilter.inc.php.
References NativeImportExportFilter\getDeployment(), and NativeImportFilter\parseLocalizedContent().
Referenced by _issueExists(), and handleChildElement().
NativeXmlIssueFilter::parseSection | ( | $node | ) |
Parse a section stored in an issue.
$node | DOMElement |
Definition at line 287 of file NativeXmlIssueFilter.inc.php.
References _sectionExist(), DAORegistry\getDAO(), NativeImportExportFilter\getDeployment(), and NativeImportFilter\parseLocalizedContent().
Referenced by parseSections().
NativeXmlIssueFilter::parseSections | ( | $node, | |
$issue | |||
) |
Parse a submission file and add it to the submission.
$node | DOMElement |
$issue | Issue |
Definition at line 268 of file NativeXmlIssueFilter.inc.php.
References NativeImportExportFilter\getDeployment(), and parseSection().
Referenced by handleChildElement().