PHP 클래스 Smile\ElasticsuiteCore\Index\Analysis\Config\Converter

저자: Aurelien FOUCRET ([email protected])
상속: implements Magento\Framework\Config\ConverterInterface
파일 보기 프로젝트 열기: smile-sa/elasticsuite

공개 메소드들

메소드 설명
__construct ( Magento\Framework\Json\Decoder $jsonDecoder ) Constructor.
convert ( mixed $source ) : array Convert dom node tree to array.

비공개 메소드들

메소드 설명
getAllLanguages ( DOMXPath $xpath ) : array Parse languages available in the document.
getDefaultConfiguration ( DOMXPath $xpath ) : array Return default configuration available for all languages.
getFiltersByRef ( DOMXPath $xpath, DomNode $rootNode, string $searchPath, array $availableFilters ) : array Return all filters under a root node filtered by an array of available filters.
getLanguageConfiguration ( DOMXPath $xpath, string $language, array $defaultConfig ) : array Return configuration for a given language.
parseAnalyzers ( DOMXPath $xpath, array $availableCharFilters, array $availableFilters, string $language = 'default' ) : array Analyzers parser by language.
parseFilters ( DOMXPath $xpath, string $rootNodeName, string $nodeName, string $language = 'default' ) : array Filters parser by language.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Magento\Framework\Json\Decoder $jsonDecoder )
$jsonDecoder Magento\Framework\Json\Decoder JSON Decoder.

convert() 공개 메소드

Convert dom node tree to array.
public convert ( mixed $source ) : array
$source mixed Configuration XML source.
리턴 array