PHP 클래스 DOAJXmlFilter, ojs

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

공개 메소드들

메소드 설명
__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