PHP Класс DOAJXmlFilter, ojs

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

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

Метод Описание
__construct ( $filterGroup ) Constructor
createAffiliationsList ( $authors, $article ) : array Generate a list of affiliations among all authors of an article.
createAuthorNode ( $doc, $article, $author, $affilList ) : DOMElement Generate the author node.
createRootNode ( $doc ) : DOMElement Create and return the root node.
formatDate ( $date ) : string Format a date by Y-m-d format.
getClassName ( )
process ( &$pubObjects ) : DOMDocument

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

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

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

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

Generate a list of affiliations among all authors of an article.
public createAffiliationsList ( $authors, $article ) : array
$authors object Array of article authors
$article Article
Результат array

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

Generate the author node.
public createAuthorNode ( $doc, $article, $author, $affilList ) : DOMElement
$doc DOMDocument
$article object Article
$author object Author
$affilList array List of author affiliations
Результат DOMElement

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

Create and return the root node.
public createRootNode ( $doc ) : DOMElement
$doc DOMDocument
Результат DOMElement

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

Format a date by Y-m-d format.
public formatDate ( $date ) : string
$date string
Результат string

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

public getClassName ( )

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

См. также: Filter::process()
public process ( &$pubObjects ) : DOMDocument
$pubObjects array Array of PublishedArticles
Результат DOMDocument