PHP Class DOAJXmlFilter, ojs

Inheritance: extends NativeExportFilter
Afficher le fichier Open project: pkp/ojs

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

createAffiliationsList() public méthode

Generate a list of affiliations among all authors of an article.
public createAffiliationsList ( $authors, $article ) : array
$authors object Array of article authors
$article Article
Résultat array

createAuthorNode() public méthode

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
Résultat DOMElement

createRootNode() public méthode

Create and return the root node.
public createRootNode ( $doc ) : DOMElement
$doc DOMDocument
Résultat DOMElement

formatDate() public méthode

Format a date by Y-m-d format.
public formatDate ( $date ) : string
$date string
Résultat string

getClassName() public méthode

public getClassName ( )

process() public méthode

See also: Filter::process()
public process ( &$pubObjects ) : DOMDocument
$pubObjects array Array of PublishedArticles
Résultat DOMDocument