Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-catalog-search
Model
Indexer
Mview
Action.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogSearch\Model\Indexer\Mview
;
7
8
use
Magento\CatalogSearch\Model\Indexer\Fulltext
;
9
use
Magento\Framework\Mview\ActionInterface
;
10
use Magento\Framework\Indexer\IndexerInterfaceFactory;
11
15
class
Action
implements
ActionInterface
16
{
20
private
$indexerFactory;
21
25
public
function
__construct
(IndexerInterfaceFactory $indexerFactory)
26
{
27
$this->indexerFactory = $indexerFactory;
28
}
29
37
public
function
execute
($ids)
38
{
40
$indexer
= $this->indexerFactory->create()->load(
Fulltext::INDEXER_ID
);
41
$indexer
->reindexList($ids);
42
}
43
}
Magento\CatalogSearch\Model\Indexer\Mview\Action
Definition:
Action.php:15
Magento\CatalogSearch\Model\Indexer\Fulltext
Magento\Framework\Mview\ActionInterface\execute
execute($ids)
Magento\CatalogSearch\Model\Indexer\Fulltext\INDEXER_ID
const INDEXER_ID
Definition:
Fulltext.php:31
Magento\CatalogSearch\Model\Indexer\Mview\Action\__construct
__construct(IndexerInterfaceFactory $indexerFactory)
Definition:
Action.php:25
Magento\CatalogSearch\Model\Indexer\Mview
Definition:
Action.php:6
Magento\Framework\Mview\ActionInterface
Definition:
ActionInterface.php:12
$indexer
$indexer
Definition:
product_different_store_prices.php:21