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-sales
Model
GridAsyncInsert.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Sales\Model
;
7
14
class
GridAsyncInsert
15
{
21
protected
$entityGrid
;
22
28
protected
$globalConfig
;
29
34
public
function
__construct
(
35
\
Magento
\Sales\Model\
ResourceModel
\GridInterface
$entityGrid
,
36
\
Magento
\Framework\
App
\
Config
\
ScopeConfigInterface
$globalConfig
37
) {
38
$this->entityGrid =
$entityGrid
;
39
$this->globalConfig =
$globalConfig
;
40
}
41
55
public
function
asyncInsert
()
56
{
57
if
($this->globalConfig->getValue(
'dev/grid/async_indexing'
)) {
58
$this->entityGrid->refreshBySchedule();
59
}
60
}
61
}
Magento\Framework\App
Magento\Catalog\Model\ResourceModel\Product
Definition:
CollectionTest.php:6
Magento\Sales\Model\GridAsyncInsert\asyncInsert
asyncInsert()
Definition:
GridAsyncInsert.php:55
Magento\Sales\Model\GridAsyncInsert\$globalConfig
$globalConfig
Definition:
GridAsyncInsert.php:28
Magento\Sales\Model
Definition:
AbstractCollectorPositionsTest.php:10
Magento
Magento\Sales\Model\GridAsyncInsert\__construct
__construct(\Magento\Sales\Model\ResourceModel\GridInterface $entityGrid, \Magento\Framework\App\Config\ScopeConfigInterface $globalConfig)
Definition:
GridAsyncInsert.php:34
Magento\Sales\Model\GridAsyncInsert
Definition:
GridAsyncInsert.php:14
Magento\Framework\App\Config
Definition:
Config.php:17
Magento\Sales\Model\GridAsyncInsert\$entityGrid
$entityGrid
Definition:
GridAsyncInsert.php:21
Magento\Framework\App\Config\ScopeConfigInterface
Definition:
ScopeConfigInterface.php:15