PHP Класс Smile\ElasticsuiteCore\Block\Search\Form\Autocomplete

Автор: Romain Ruaud ([email protected])
Наследование: extends Magento\Framework\View\Element\Template
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Magento\Framework\Locale\FormatInterface $localeFormat, array $data, array $rendererList = [] ) Mini constructor.
getJsonPriceFormat ( ) : array Retrieve price format configuration in Json.
getJsonSuggestRenderers ( ) : string Retrieve Renderers used to draw the suggest in JSON format
getSuggestRenderers ( ) : array Retrieve templates renderers for autocomplete results

Защищенные методы

Метод Описание
getPriceFormat ( ) : array Retrieve price format configuration.

Описание методов

__construct() публичный Метод

Mini constructor.
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Magento\Framework\Locale\FormatInterface $localeFormat, array $data, array $rendererList = [] )
$context Magento\Framework\View\Element\Template\Context Block context
$jsonHelper Magento\Framework\Json\Helper\Data JSON helper
$localeFormat Magento\Framework\Locale\FormatInterface Locale Format
$data array The data
$rendererList array The renderers used for autocomplete rendering

getJsonPriceFormat() публичный Метод

Retrieve price format configuration in Json.
public getJsonPriceFormat ( ) : array
Результат array

getJsonSuggestRenderers() публичный Метод

Retrieve Renderers used to draw the suggest in JSON format
public getJsonSuggestRenderers ( ) : string
Результат string

getPriceFormat() защищенный Метод

Retrieve price format configuration.
protected getPriceFormat ( ) : array
Результат array

getSuggestRenderers() публичный Метод

Retrieve templates renderers for autocomplete results
public getSuggestRenderers ( ) : array
Результат array