PHP Class IssueCrossrefXmlFilter, ojs

Inheritance: extends NativeExportFilter
显示文件 Open project: pkp/ojs Class Usage Examples

Public Methods

Method Description
__construct ( $filterGroup ) Constructor
createDOIDataNode ( $doc, $doi, $url ) : DOMElement Create and return the DOI date node 'doi_data'.
createHeadNode ( $doc ) : DOMElement Create and return the head node 'head'.
createJournalIssueNode ( $doc, $issue ) : DOMElement Create and return the journal issue node 'journal_issue'.
createJournalMetadataNode ( $doc ) : DOMElement Create and return the journal metadata node 'journal_metadata'.
createJournalNode ( $doc, $pubObject ) : DOMElement Create and return the journal node 'journal'.
createPublicationDateNode ( $doc, $objectPublicationDate ) : DOMElement Create and return the publication date node 'publication_date'.
createRootNode ( $doc ) : DOMElement Create and return the root node 'doi_batch'.
getClassName ( )
process ( &$pubObjects ) : DOMDocument

Method Details

__construct() public method

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

createDOIDataNode() public method

Create and return the DOI date node 'doi_data'.
public createDOIDataNode ( $doc, $doi, $url ) : DOMElement
$doc DOMDocument
$doi string
$url string
return DOMElement

createHeadNode() public method

Create and return the head node 'head'.
public createHeadNode ( $doc ) : DOMElement
$doc DOMDocument
return DOMElement

createJournalIssueNode() public method

Create and return the journal issue node 'journal_issue'.
public createJournalIssueNode ( $doc, $issue ) : DOMElement
$doc DOMDocument
$issue Issue
return DOMElement

createJournalMetadataNode() public method

Create and return the journal metadata node 'journal_metadata'.
public createJournalMetadataNode ( $doc ) : DOMElement
$doc DOMDocument
return DOMElement

createJournalNode() public method

Create and return the journal node 'journal'.
public createJournalNode ( $doc, $pubObject ) : DOMElement
$doc DOMDocument
$pubObject object Issue or PublishedArticle
return DOMElement

createPublicationDateNode() public method

Create and return the publication date node 'publication_date'.
public createPublicationDateNode ( $doc, $objectPublicationDate ) : DOMElement
$doc DOMDocument
$objectPublicationDate string
return DOMElement

createRootNode() public method

Create and return the root node 'doi_batch'.
public createRootNode ( $doc ) : DOMElement
$doc DOMDocument
return DOMElement

getClassName() public method

public getClassName ( )

process() public method

See also: Filter::process()
public process ( &$pubObjects ) : DOMDocument
$pubObjects array Array of Issues or PublishedArticles
return DOMDocument