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
Model
Indexer
Product
Flat
State.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Catalog\Model\Indexer\Product\Flat
;
7
12
class
State
extends
\Magento\Catalog\Model\Indexer\AbstractFlatState
13
{
17
const
INDEXER_ID
=
'catalog_product_flat'
;
18
22
const
INDEXER_ENABLED_XML_PATH
=
'catalog/frontend/flat_catalog_product'
;
23
27
protected
$_productFlatIndexerHelper
;
28
35
public
function
__construct
(
36
\
Magento
\Framework\
App
\
Config
\
ScopeConfigInterface
$scopeConfig
,
37
\
Magento
\Framework\Indexer\
IndexerRegistry
$indexerRegistry
,
38
\
Magento
\Catalog\Helper\
Product
\
Flat
\Indexer $flatIndexerHelper,
39
$isAvailable
=
false
40
) {
41
parent::__construct(
$scopeConfig
,
$indexerRegistry
,
$isAvailable
);
42
$this->_productFlatIndexerHelper = $flatIndexerHelper;
43
}
44
48
public
function
getFlatIndexerHelper
()
49
{
50
return
$this->_productFlatIndexerHelper
;
51
}
52
}
Magento\Framework\App
Magento\Catalog\Model\Indexer\AbstractFlatState
Definition:
AbstractFlatState.php:14
Magento\Catalog\Model\Indexer\Product\Flat
Definition:
Flat.php:10
Magento\Catalog\Model\Indexer\Product\Flat\State\getFlatIndexerHelper
getFlatIndexerHelper()
Definition:
State.php:48
Magento\Catalog\Model\Indexer\Product\Flat\State
Definition:
State.php:12
Magento\Catalog\Model\Indexer\Product\Flat\State\$_productFlatIndexerHelper
$_productFlatIndexerHelper
Definition:
State.php:27
Magento\Catalog\Model\Indexer\AbstractFlatState\$isAvailable
$isAvailable
Definition:
AbstractFlatState.php:34
Magento\Catalog\Model\Product
Definition:
Product.php:42
Magento\Catalog\Model\Indexer\AbstractFlatState\$indexerRegistry
$indexerRegistry
Definition:
AbstractFlatState.php:39
Magento\Catalog\Model\Indexer\Product\Flat
Magento
Magento\Framework\Indexer\IndexerRegistry
Definition:
IndexerRegistry.php:12
Magento\Catalog\Model\Indexer\AbstractFlatState\$scopeConfig
$scopeConfig
Definition:
AbstractFlatState.php:29
Magento\Catalog\Model\Indexer\Product\Flat\State\__construct
__construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, \Magento\Framework\Indexer\IndexerRegistry $indexerRegistry, \Magento\Catalog\Helper\Product\Flat\Indexer $flatIndexerHelper, $isAvailable=false)
Definition:
State.php:35
Magento\Framework\App\ResourceConnection\Config
Definition:
Config.php:14
Magento\Framework\App\Config\ScopeConfigInterface
Definition:
ScopeConfigInterface.php:15
Magento\Catalog\Model\Indexer\Product\Flat\State\INDEXER_ENABLED_XML_PATH
const INDEXER_ENABLED_XML_PATH
Definition:
State.php:22
Magento\Catalog\Model\Indexer\Product\Flat\State\INDEXER_ID
const INDEXER_ID
Definition:
State.php:17