PHP 클래스 NativeImportFilter, pkp-lib

상속: extends NativeImportExportFilter
파일 보기 프로젝트 열기: pkp/pkp-lib 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $filterGroup ) Constructor
getPluralElementName ( ) : string Return the plural element name
getSingularElementName ( ) : string Get the singular element name
handleElement ( $node ) Handle a singular element import
parseLocalizedContent ( $element ) : array Parse a localized element
process ( &$document ) : array

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $filterGroup )
$filterGroup FilterGroup

getPluralElementName() 공개 메소드

Return the plural element name
public getPluralElementName ( ) : string
리턴 string

getSingularElementName() 공개 메소드

Get the singular element name
public getSingularElementName ( ) : string
리턴 string

handleElement() 공개 메소드

Handle a singular element import
public handleElement ( $node )
$node DOMElement

parseLocalizedContent() 공개 메소드

Parse a localized element
public parseLocalizedContent ( $element ) : array
$element DOMElement
리턴 array Array("locale_KEY", "Localized Text")

process() 공개 메소드

또한 보기: Filter::process()
public process ( &$document ) : array
$document DOMDocument|string
리턴 array Array of imported documents