PHP Класс NativeXmlIssueFilter, ojs

Наследование: extends NativeImportFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

_getDateIssueSetterMappings() публичный Метод

Get node name to setter function mapping for issue date fields.
public _getDateIssueSetterMappings ( ) : array
Результат array

_getLocalizedIssueSetterMappings() публичный Метод

Get node name to setter function mapping for localized data.
public _getLocalizedIssueSetterMappings ( ) : array
Результат array

_sectionExist() публичный Метод

Check if the section already exists.
public _sectionExist ( $importSection ) : boolean
$importSection Section New created section
Результат boolean

getClassName() публичный Метод

public getClassName ( )

getPluralElementName() публичный Метод

Return the plural element name
public getPluralElementName ( ) : string
Результат string

getSingularElementName() публичный Метод

Get the singular element name
public getSingularElementName ( ) : string
Результат string

handleChildElement() публичный Метод

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

handleElement() публичный Метод

Handle a singular element import.
public handleElement ( $node ) : Issue
$node DOMElement
Результат Issue

parseArticle() публичный Метод

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

parseArticles() публичный Метод

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

parseCover() публичный Метод

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

parseIdentifier() публичный Метод

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

parseIssueCovers() публичный Метод

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

parseIssueGalley() публичный Метод

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

parseIssueGalleys() публичный Метод

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

parseIssueIdentification() публичный Метод

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

parseSection() публичный Метод

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

parseSections() публичный Метод

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