PHP Class NativeXmlIssueFilter, ojs

Inheritance: extends NativeImportFilter
Afficher le fichier Open project: pkp/ojs

Méthodes publiques

Méthode Description
__construct ( $filterGroup ) Constructor
_getDateIssueSetterMappings ( ) : array Get node name to setter function mapping for issue date fields.
_getLocalizedIssueSetterMappings ( ) : array Get node name to setter function mapping for localized data.
_sectionExist ( $importSection ) : boolean Check if the section already exists.
getClassName ( )
getPluralElementName ( ) : string Return the plural element name
getSingularElementName ( ) : string Get the singular element name
handleChildElement ( $n, $issue ) Handle an element whose parent is the issue element.
handleElement ( $node ) : Issue Handle a singular element import.
parseArticle ( $n, $issue ) Parse an article and add it to the issue.
parseArticles ( $node, $issue ) Parse an articles element
parseCover ( $node, $object ) Parse out the cover and store it in the object.
parseIdentifier ( $element, $issue ) Parse an identifier node and set up the issue object accordingly
parseIssueCovers ( $node, $object ) Parse out the object covers.
parseIssueGalley ( $n, $issue ) Parse an issue galley and add it to the issue.
parseIssueGalleys ( $node, $issue ) Parse an articles element
parseIssueIdentification ( $node, $issue ) Parse out the issue identification and store it in an issue.
parseSection ( $node, $issue ) Parse a section stored in an issue.
parseSections ( $node, $issue ) Parse a submission file and add it to the submission.

Method Details

__construct() public méthode

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

_getDateIssueSetterMappings() public méthode

Get node name to setter function mapping for issue date fields.
public _getDateIssueSetterMappings ( ) : array
Résultat array

_getLocalizedIssueSetterMappings() public méthode

Get node name to setter function mapping for localized data.

_sectionExist() public méthode

Check if the section already exists.
public _sectionExist ( $importSection ) : boolean
$importSection Section New created section
Résultat boolean

getClassName() public méthode

public getClassName ( )

getPluralElementName() public méthode

Return the plural element name
public getPluralElementName ( ) : string
Résultat string

getSingularElementName() public méthode

Get the singular element name
public getSingularElementName ( ) : string
Résultat string

handleChildElement() public méthode

Handle an element whose parent is the issue element.
public handleChildElement ( $n, $issue )
$n DOMElement
$issue Issue

handleElement() public méthode

Handle a singular element import.
public handleElement ( $node ) : Issue
$node DOMElement
Résultat Issue

parseArticle() public méthode

Parse an article and add it to the issue.
public parseArticle ( $n, $issue )
$n DOMElement
$issue Issue

parseArticles() public méthode

Parse an articles element
public parseArticles ( $node, $issue )
$node DOMElement
$issue Issue

parseCover() public méthode

Parse out the cover and store it in the object.
public parseCover ( $node, $object )
$node DOMElement
$object Issue

parseIdentifier() public méthode

Parse an identifier node and set up the issue object accordingly
public parseIdentifier ( $element, $issue )
$element DOMElement
$issue Issue

parseIssueCovers() public méthode

Parse out the object covers.
public parseIssueCovers ( $node, $object )
$node DOMElement
$object Issue

parseIssueGalley() public méthode

Parse an issue galley and add it to the issue.
public parseIssueGalley ( $n, $issue )
$n DOMElement
$issue Issue

parseIssueGalleys() public méthode

Parse an articles element
public parseIssueGalleys ( $node, $issue )
$node DOMElement
$issue Issue

parseIssueIdentification() public méthode

Parse out the issue identification and store it in an issue.
public parseIssueIdentification ( $node, $issue )
$node DOMElement
$issue Issue

parseSection() public méthode

Parse a section stored in an issue.
public parseSection ( $node, $issue )
$node DOMElement
$issue Issue

parseSections() public méthode

Parse a submission file and add it to the submission.
public parseSections ( $node, $issue )
$node DOMElement
$issue Issue