Method | 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 |
public __construct ( $filterGroup ) | ||
$filterGroup | FilterGroup |
public createAffiliationsList ( $authors, $article ) : array | ||
$authors | object Array of article authors | |
$article | Article | |
return | array |
public createAuthorNode ( $doc, $article, $author, $affilList ) : DOMElement | ||
$doc | DOMDocument | |
$article | object Article | |
$author | object Author | |
$affilList | array List of author affiliations | |
return | DOMElement |
public createRootNode ( $doc ) : DOMElement | ||
$doc | DOMDocument | |
return | DOMElement |
public formatDate ( $date ) : string | ||
$date | string | |
return | string |
public process ( &$pubObjects ) : DOMDocument | ||
$pubObjects | array Array of PublishedArticles | |
return | DOMDocument |