PHP Class ArticleMedraXmlFilter, ojs

Inheritance: extends O4DOIXmlFilter
ファイルを表示 Open project: pkp/ojs Class Usage Examples

Public Methods

Method Description
__construct ( $filterGroup ) Constructor
createArticleNode ( $doc, $pubObject ) : DOMElement Create and return the article (as work or as manifestation) node.
createContentItemNode ( $doc, $issue, $article, $galley, $objectLocalePrecedence ) : DOMElement Create a content item node.
createContributorNode ( $doc, $author, $objectLocalePrecedence ) : DOMElement Create a contributor node.
createSubjectNode ( $doc, $subjectSchemeId, $subjectHeadingOrCode, $subjectSchemeName = null ) : DOMElement Create a subject node.
getClassName ( )
getRootNodeName ( )
isWork ( $context, $plugin )
process ( &$pubObjects ) : DOMDocument

Method Details

__construct() public method

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

createArticleNode() public method

Create and return the article (as work or as manifestation) node.
public createArticleNode ( $doc, $pubObject ) : DOMElement
$doc DOMDocument
$pubObject PublishedArticle|ArticleGalley
return DOMElement

createContentItemNode() public method

Create a content item node.
public createContentItemNode ( $doc, $issue, $article, $galley, $objectLocalePrecedence ) : DOMElement
$doc DOMDocument
$issue Issue
$article PublishedArticle
$galley ArticleGalley
$objectLocalePrecedence array
return DOMElement

createContributorNode() public method

Create a contributor node.
public createContributorNode ( $doc, $author, $objectLocalePrecedence ) : DOMElement
$doc DOMDocument
$author Author
$objectLocalePrecedence array
return DOMElement

createSubjectNode() public method

Create a subject node.
public createSubjectNode ( $doc, $subjectSchemeId, $subjectHeadingOrCode, $subjectSchemeName = null ) : DOMElement
$doc DOMDocument
$subjectSchemeId string One of the O4DOI_SUBJECT_SCHEME_* constants.
$subjectHeadingOrCode string The subject.
$subjectSchemeName string|null A subject scheme name.
return DOMElement

getClassName() public method

public getClassName ( )

getRootNodeName() public method

public getRootNodeName ( )

isWork() public method

public isWork ( $context, $plugin )

process() public method

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