PHP Class RepresentationNativeXmlFilter, pkp-lib

Inheritance: extends NativeExportFilter
Show file Open project: pkp/pkp-lib Class Usage Examples

Public Methods

Method Description
__construct ( $filterGroup ) Constructor
addIdentifiers ( $doc, $representationNode, $representation ) Create and add identifier nodes to a representation node.
addPubIdentifier ( $doc, $representationNode, $representation, $pubIdPlugin ) : DOMElement | null Add a single pub ID element for a given plugin to the representation.
createRepresentationNode ( $doc, $representation ) : DOMElement Create and return a representation node.
getClassName ( )
getFiles ( $representation ) : array Get the submission files associated with this representation
process ( &$representation ) : DOMDocument

Method Details

__construct() public method

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

addIdentifiers() public method

Create and add identifier nodes to a representation node.
public addIdentifiers ( $doc, $representationNode, $representation )
$doc DOMDocument
$representationNode DOMElement
$representation Representation

addPubIdentifier() public method

Add a single pub ID element for a given plugin to the representation.
public addPubIdentifier ( $doc, $representationNode, $representation, $pubIdPlugin ) : DOMElement | null
$doc DOMDocument
$representationNode DOMElement
$representation Representation
$pubIdPlugin PubIdPlugin
return DOMElement | null

createRepresentationNode() public method

Create and return a representation node.
public createRepresentationNode ( $doc, $representation ) : DOMElement
$doc DOMDocument
$representation Representation
return DOMElement

getClassName() public method

public getClassName ( )

getFiles() public method

Get the submission files associated with this representation
public getFiles ( $representation ) : array
$representation Representation
return array

process() public method

See also: Filter::process()
public process ( &$representation ) : DOMDocument
$representation Representation
return DOMDocument