Свойство | Тип | Описание | |
---|---|---|---|
$categoryCollectionFactory | Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\CollectionFactory | ||
$configurationHelper | |||
$itemFactory | Autocomplete result item factory | ||
$queryFactory | Magento\Search\Model\QueryFactory | Query factory | |
$termDataProvider |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor. | |
getItems ( ) | {@inheritDoc} | |
getType ( ) : string |
Метод | Описание | |
---|---|---|
getCategoryCollection ( ) : |
Suggested categories collection. | |
getResultsPageSize ( ) : integer | Retrieve number of categories to display in autocomplete results | |
getSuggestedTerms ( ) : array | List of search terms suggested by the search terms data provider. |
public __construct ( |
||
$itemFactory | Suggest item factory. | |
$queryFactory | Magento\Search\Model\QueryFactory | Search query factory. |
$termDataProvider | Search terms suggester. | |
$categoryCollectionFactory | Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\CollectionFactory | Category collection factory. |
$configurationHelper | Autocomplete configuration helper. | |
$type | string | Autocomplete provider type. |
protected CollectionFactory,Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext $categoryCollectionFactory | ||
Результат | Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Fulltext\CollectionFactory |
protected Autocomplete,Smile\ElasticsuiteCatalog\Helper $configurationHelper | ||
Результат |
protected ItemFactory,Smile\ElasticsuiteCatalog\Model\Autocomplete\Category $itemFactory | ||
Результат |
protected QueryFactory,Magento\Search\Model $queryFactory | ||
Результат | Magento\Search\Model\QueryFactory |