PHP Класс Smile\ElasticsuiteCatalog\Model\Category\Indexer\Fulltext\Action\Full

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

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

Метод Описание
__construct ( Full $resourceModel ) Constructor.
rebuildStoreIndex ( integer $storeId, array | null $categoryIds = null ) : Traversable Get data for a list of categories in a store id.

Приватные методы

Метод Описание
getSearchableCategories ( integer $storeId, string $categoryIds = null, integer $fromId, integer $limit = 100 ) : array Load a bulk of product data.

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

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

Constructor.
public __construct ( Full $resourceModel )
$resourceModel Smile\ElasticsuiteCatalog\Model\ResourceModel\Category\Indexer\Fulltext\Action\Full Indexer resource model.

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

If the product list ids is null, all categories data will be loaded.
public rebuildStoreIndex ( integer $storeId, array | null $categoryIds = null ) : Traversable
$storeId integer Store id.
$categoryIds array | null List of category ids.
Результат Traversable