PHP Класс NativeXmlArticleFilter, ojs

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

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

Метод Описание
__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.
public getPublishedSubmissionInsertMethod ( ) : string
Результат string

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