Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
CrossRefExportDom Class Reference
Inheritance diagram for CrossRefExportDom:
DOIExportDom

Public Member Functions

 _appendArticleXML (&$doc, &$journal, &$issue, &$article, &$bodyNode)
 
_generateAuthorDom (&$doc, &$author, $isFirst=false)
 
_generateComponentListDom (&$doc, &$journal, &$article)
 
_generateDepositorDom (&$doc, $name, $email)
 
_generateDOIdataDom (&$doc, $DOI, $url, $galleys=null)
 
_generateHeadDom (&$doc, &$journal)
 
_generateJournalArticleDom (&$doc, &$journal, &$issue, &$section, &$article)
 
_generateJournalIssueDom (&$doc, &$journal, &$issue, &$section, &$article)
 
_generateJournalMetadataDom (&$doc, &$journal)
 
_generatePublisherDateDom (&$doc, $pubdate)
 
 CrossRefExportDom (&$request, &$plugin, &$journal, &$objectCache)
 
generate (&$objects)
 
 getNamespace ()
 
 getRootElementName ()
 
 getXmlSchemaLocation ()
 
 getXmlSchemaVersion ()
 
retrievePublicationObjects (&$object)
 
- Public Member Functions inherited from DOIExportDom
 _addError ($errorTranslationKey, $param=null)
 
createElementWithText ($name, $value, $attributes=array())
 
 DOIExportDom (&$request, &$plugin, &$journal, &$objectCache)
 
generate (&$objects)
 
getCache ()
 
getDoc ()
 
 getErrors ()
 
 getFileType ($articleFile)
 
getJournal ()
 
 getNamespace ()
 
 getObjectLocalePrecedence (&$article, &$galley)
 
 getPluginSetting ($settingName)
 
 getPrimaryTranslation ($localizedData, $localePrecedence)
 
 getProprietaryId (&$journal, $issue=null, $articleOrArticleFile=null, $articleFile=null)
 
 getPublisher ($localePrecedence)
 
getRequest ()
 
 getRootElementName ()
 
 getSubjectClass (&$article, $objectLocalePrecedence)
 
 getTestMode ()
 
 getTranslationsByPrecedence ($localizedData, $localePrecedence)
 
 getXmlSchemaLocation ()
 
 getXmlSchemaVersion ()
 
retrieveArticlesByIssue (&$issue)
 
retrieveGalleysByArticle (&$article)
 
retrievePublicationObjects (&$object)
 
rootElement ()
 
 translateLanguageToLocale ($language)
 

Detailed Description

CrossRef XML export format implementation.

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

Member Function Documentation

CrossRefExportDom::_appendArticleXML ( $doc,
$journal,
$issue,
$article,
$bodyNode 
)

Generate and append the XML per article

Parameters
$docXMLNode
$journalJournal
$issueIssue
$articleArticle
$bodyNodeXMLNode

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

References _generateJournalArticleDom(), _generateJournalIssueDom(), _generateJournalMetadataDom(), and DAORegistry\getDAO().

Referenced by generate().

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

Generate author node

Parameters
$docXMLNode
$authorAuthor
Returns
XMLNode

Definition at line 503 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 401 of file CrossRefExportDom.inc.php.

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

Referenced by _generateJournalArticleDom().

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

Generate depositor node

Parameters
$docXMLNode
$namestring
$emailstring
Returns
XMLNode

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

Referenced by _generateHeadDom().

& CrossRefExportDom::_generateDOIdataDom ( $doc,
  $DOI,
  $url,
  $galleys = null 
)

Generate doi_data element - this is what assigns the DOI

Parameters
$docXMLNode
$DOIstring
$urlstring
$galleysarray

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

References DOIExportDom\getJournal(), and PKPApplication\getRequest().

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 164 of file CrossRefExportDom.inc.php.

References _generateDepositorDom().

Referenced by generate().

& 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 319 of file CrossRefExportDom.inc.php.

References _generateAuthorDom(), _generateComponentListDom(), _generateDOIdataDom(), _generatePublisherDateDom(), DAORegistry\getDAO(), String\html2utf(), and Request\url().

Referenced by _appendArticleXML().

& 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 285 of file CrossRefExportDom.inc.php.

References _generateDOIdataDom(), _generatePublisherDateDom(), and Request\url().

Referenced by _appendArticleXML().

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

Generate metadata for journal - accompanies every article

Parameters
$docXMLNode
$journalJournal
Returns
XMLNode

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

Referenced by _appendArticleXML().

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

Generate publisher date - order matters

Parameters
$docXMLNode
$pubdatestring
Returns
XMLNode

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

Referenced by _generateJournalArticleDom(), and _generateJournalIssueDom().

CrossRefExportDom::CrossRefExportDom ( $request,
$plugin,
$journal,
$objectCache 
)

Constructor

Parameters
$requestRequest
$pluginDOIExportPlugin
$journalJournal
$objectCachePubObjectCache

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

CrossRefExportDom::getNamespace ( )
See Also
DOIExportDom::getNamespace()

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

CrossRefExportDom::getRootElementName ( )
CrossRefExportDom::getXmlSchemaLocation ( )
CrossRefExportDom::getXmlSchemaVersion ( )
See Also
DOIExportDom::getXmlSchemaVersionn()

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

& CrossRefExportDom::retrievePublicationObjects ( $object)

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