Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
NativeImportDom Class Reference

Public Member Functions

 handleAuthorNode (&$journal, &$authorNode, &$issue, &$section, &$article, &$errors, $authorIndex)
 
 handleHtmlGalleyNodes (&$galleyNode, &$articleFileManager, &$galley, &$errors, &$isCommandLine)
 
 handlePubIds (&$node, &$pubObject, &$journal, &$issue, &$article, &$errors)
 

Detailed Description

Native import/export plugin DOM functions for import.

Definition at line 18 of file NativeImportDom.inc.php.

Member Function Documentation

NativeImportDom::handleAuthorNode ( $journal,
$authorNode,
$issue,
$section,
$article,
$errors,
  $authorIndex 
)

Handle an author node (i.e. convert an author from DOM to DAO).

Parameters
$journalJournal
$authorNodeDOMElement
$issueIssue
$sectionSection
$articleArticle
$errorsarray
$authorIndexint 0 for first author, 1 for second, ...

Definition at line 933 of file NativeImportDom.inc.php.

References DAORegistry\getDAO().

NativeImportDom::handleHtmlGalleyNodes ( $galleyNode,
$articleFileManager,
$galley,
$errors,
$isCommandLine 
)

Handle subnodes of a <galley> node specific to HTML galleys, such as stylesheet and image files. FIXME: The parameter lists, here and elsewhere, are getting ridiculous.

Definition at line 1084 of file NativeImportDom.inc.php.

References DAORegistry\getDAO().

NativeImportDom::handlePubIds ( $node,
$pubObject,
$journal,
$issue,
$article,
$errors 
)

Import a public ID from the XML node to the given publication object.

Parameters
$nodeDOMNode
$pubObjectobject
$journalJournal
$issueIssue
$articleArticle
$errorsarray

Definition at line 1139 of file NativeImportDom.inc.php.

References PluginRegistry\loadCategory().


The documentation for this class was generated from the following file: