PHP 클래스 NativeXmlArticleFilter, ojs

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

공개 메소드들

메소드 설명
__construct ( $filterGroup ) Constructor
getClassName ( )
getImportFilter ( $elementName ) : Filter Get the import filter for a given element.
getPublishedSubmissionDAO ( ) : DAO Get the published submission DAO for this application.
getPublishedSubmissionInsertMethod ( ) : string Get the method name for inserting a published submission.
handleChildElement ( $n, $submission ) Handle an element whose parent is the submission element.
parseArticleGalley ( $n, $submission ) Parse an article galley and add it to the submission.
parseIssueIdentification ( $node ) : Issue Get the issue from the given identification.
populateObject ( $submission, $node ) : Submission Populate the submission object from the node
populatePublishedSubmission ( PublishedArticle $submission, DOMElement $node ) : PublishedArticle Class-specific methods for published submissions.
process ( &$document ) : array

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

getClassName() 공개 메소드

public getClassName ( )

getImportFilter() 공개 메소드

Get the import filter for a given element.
public getImportFilter ( $elementName ) : Filter
$elementName string Name of XML element
리턴 Filter

getPublishedSubmissionDAO() 공개 메소드

Get the published submission DAO for this application.
public getPublishedSubmissionDAO ( ) : DAO
리턴 DAO

getPublishedSubmissionInsertMethod() 공개 메소드

Get the method name for inserting a published submission.

handleChildElement() 공개 메소드

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

parseArticleGalley() 공개 메소드

Parse an article galley and add it to the submission.
public parseArticleGalley ( $n, $submission )
$n DOMElement
$submission Submission

parseIssueIdentification() 공개 메소드

Get the issue from the given identification.
public parseIssueIdentification ( $node ) : Issue
$node DOMElement
리턴 Issue

populateObject() 공개 메소드

Populate the submission object from the node
public populateObject ( $submission, $node ) : Submission
$submission Submission
$node DOMElement
리턴 Submission

populatePublishedSubmission() 공개 메소드

Class-specific methods for published submissions.
public populatePublishedSubmission ( PublishedArticle $submission, DOMElement $node ) : PublishedArticle
$submission PublishedArticle
$node DOMElement
리턴 PublishedArticle

process() 공개 메소드

또한 보기: Filter::process()
public process ( &$document ) : array
$document DOMDocument|string
리턴 array Array of imported documents