PHP Класс Smile\ElasticsuiteTracker\Block\Variables\Page\Search

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

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

Метод Описание
__construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Data $trackerHelper, Magento\Framework\Registry $registry, Magento\Catalog\Model\Layer\Resolver $layerResolver, Magento\CatalogSearch\Helper\Data $catalogSearchData, array $data = [] ) Set the default template for page variable blocks
getVariables ( ) : array Append the user fulltext query to the tracked variables list

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

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

Set the default template for page variable blocks
public __construct ( Magento\Framework\View\Element\Template\Context $context, Magento\Framework\Json\Helper\Data $jsonHelper, Data $trackerHelper, Magento\Framework\Registry $registry, Magento\Catalog\Model\Layer\Resolver $layerResolver, Magento\CatalogSearch\Helper\Data $catalogSearchData, array $data = [] )
$context Magento\Framework\View\Element\Template\Context The template context
$jsonHelper Magento\Framework\Json\Helper\Data The Magento's JSON Helper
$trackerHelper Smile\ElasticsuiteTracker\Helper\Data The Smile Tracker helper
$registry Magento\Framework\Registry Magento Core Registry
$layerResolver Magento\Catalog\Model\Layer\Resolver The Magento layer resolver
$catalogSearchData Magento\CatalogSearch\Helper\Data The Catalogsearch data
$data array The block data

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

Append the user fulltext query to the tracked variables list
public getVariables ( ) : array
Результат array