Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
CrossRefExportDom Class Reference

Public Member Functions

generateAuthorDom (&$doc, &$author, $isFirst=false)
 
generateComponentListDom (&$doc, &$journal, &$article)
 
generateCrossRefDom ()
 
generateDepositorDom (&$doc, $name, $email)
 
generateDoiBatchDom (&$doc)
 
generateDOIdataDom (&$doc, $DOI, $url)
 
generateHeadDom (&$doc, &$journal)
 
generateJournalArticleDom (&$doc, &$journal, &$issue, &$section, &$article)
 
generateJournalIssueDom (&$doc, &$journal, &$issue, &$section, &$article)
 
generateJournalMetadataDom (&$doc, &$journal)
 
generatePublisherDateDom (&$doc, $pubdate)
 

Detailed Description

CrossRef XML export plugin DOM functions.

Definition at line 23 of file CrossRefExportDom.inc.php.

Member Function Documentation

& CrossRefExportDom::generateAuthorDom ( $doc,
$author,
  $isFirst = false 
)

Generate author node

Parameters
$docXMLNode
$authorAuthor
Returns
XMLNode

Definition at line 304 of file CrossRefExportDom.inc.php.

Referenced by generateJournalArticleDom().

& CrossRefExportDom::generateComponentListDom ( $doc,
$journal,
$article 
)

Generate the component_list node (supplementary files).

Parameters
$docXMLNode
$journalJournal
$issueIssue
$sectionSection
$articleArticle
Returns
XMLNode

Definition at line 240 of file CrossRefExportDom.inc.php.

References generateDOIdataDom(), and Request\url().

Referenced by generateJournalArticleDom().

& CrossRefExportDom::generateCrossRefDom ( )

Build article XML using DOM elements

Returns
XMLNode

Definition at line 29 of file CrossRefExportDom.inc.php.

References XMLCustomWriter\createDocument().

& CrossRefExportDom::generateDepositorDom ( $doc,
  $name,
  $email 
)

Generate depositor node

Parameters
$docXMLNode
$namestring
$emailstring
Returns
XMLNode

Definition at line 91 of file CrossRefExportDom.inc.php.

Referenced by generateHeadDom().

& CrossRefExportDom::generateDoiBatchDom ( $doc)

Generate DOI batch DOM tree.

Parameters
$docobject
Returns
XMLNode

Definition at line 40 of file CrossRefExportDom.inc.php.

& CrossRefExportDom::generateDOIdataDom ( $doc,
  $DOI,
  $url 
)

Generate doi_data element - this is what assigns the DOI

Parameters
$docXMLNode
$DOIstring
$urlstring

Definition at line 290 of file CrossRefExportDom.inc.php.

Referenced by generateComponentListDom(), generateJournalArticleDom(), and generateJournalIssueDom().

& CrossRefExportDom::generateHeadDom ( $doc,
$journal 
)

Generate the <head> tag that accompanies each submission

Parameters
$docXMLNode
$journalJournal
Returns
XMLNode

Definition at line 64 of file CrossRefExportDom.inc.php.

References generateDepositorDom().

& CrossRefExportDom::generateJournalArticleDom ( $doc,
$journal,
$issue,
$section,
$article 
)

Generate the journal_article node (the heart of the file).

Parameters
$docXMLNode
$journalJournal
$issueIssue
$sectionSection
$articleArticle
Returns
XMLNode

Definition at line 176 of file CrossRefExportDom.inc.php.

References generateAuthorDom(), generateComponentListDom(), generateDOIdataDom(), generatePublisherDateDom(), and Request\url().

& CrossRefExportDom::generateJournalIssueDom ( $doc,
$journal,
$issue,
$section,
$article 
)

Generate journal issue tag to accompany every article

Parameters
$docXMLNode
$journalJournal
$issueIssue
$sectionSection
$articleArticle
Returns
XMLNode

Definition at line 145 of file CrossRefExportDom.inc.php.

References generateDOIdataDom(), generatePublisherDateDom(), and Request\url().

& CrossRefExportDom::generateJournalMetadataDom ( $doc,
$journal 
)

Generate metadata for journal - accompanies every article

Parameters
$docXMLNode
$journalJournal
Returns
XMLNode

Definition at line 105 of file CrossRefExportDom.inc.php.

& CrossRefExportDom::generatePublisherDateDom ( $doc,
  $pubdate 
)

Generate publisher date - order matters

Parameters
$docXMLNode
$pubdatestring
Returns
XMLNode

Definition at line 327 of file CrossRefExportDom.inc.php.

Referenced by generateJournalArticleDom(), and generateJournalIssueDom().


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