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-rule
Model
Indexer
Product
ProductRuleIndexer.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogRule\Model\Indexer\Product
;
7
8
use
Magento\CatalogRule\Model\Indexer\AbstractIndexer
;
9
10
class
ProductRuleIndexer
extends
AbstractIndexer
11
{
15
protected
function
doExecuteList
($ids)
16
{
17
$this->indexBuilder->reindexByIds(array_unique($ids));
18
$this->
getCacheContext
()->registerEntities(\
Magento
\Catalog\Model\
Product::CACHE_TAG
, $ids);
19
}
20
24
protected
function
doExecuteRow
(
$id
)
25
{
26
$this->indexBuilder->reindexById(
$id
);
27
}
28
}
Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer\doExecuteRow
doExecuteRow($id)
Definition:
ProductRuleIndexer.php:24
$id
$id
Definition:
fieldset.phtml:14
Magento\Catalog\Model\Product\CACHE_TAG
const CACHE_TAG
Definition:
Product.php:62
Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer
Definition:
ProductRuleIndexer.php:10
Magento\CatalogRule\Model\Indexer\AbstractIndexer\getCacheContext
getCacheContext()
Definition:
AbstractIndexer.php:160
Magento
Magento\CatalogRule\Model\Indexer\Product\ProductRuleIndexer\doExecuteList
doExecuteList($ids)
Definition:
ProductRuleIndexer.php:15
Magento\CatalogRule\Model\Indexer\Product
Definition:
PriceTest.php:6
Magento\CatalogRule\Model\Indexer\AbstractIndexer
Definition:
AbstractIndexer.php:13