PHP 클래스 NativeXmlIssueFilter, ojs

상속: extends NativeImportFilter
파일 보기 프로젝트 열기: pkp/ojs

공개 메소드들

메소드 설명
__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.

_getLocalizedIssueSetterMappings() 공개 메소드

Get node name to setter function mapping for localized data.

_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