Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
getPriceFormat ( ) : array | Retrieve price format configuration. |
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 |
public getJsonPriceFormat ( ) : array | ||
return | array |
public getJsonSuggestRenderers ( ) : string | ||
return | string |
protected getPriceFormat ( ) : array | ||
return | array |
public getSuggestRenderers ( ) : array | ||
return | array |