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
framework
Indexer
Action
Entity.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Indexer\Action
;
7
8
use
Magento\Framework\App\ResourceConnection\SourceProviderInterface
;
9
10
class
Entity
extends
Base
11
{
15
protected
$tableAlias
=
'e'
;
16
23
protected
function
prepareDataSource
(array $ids = [])
24
{
25
return
!count($ids)
26
? $this->createResultCollection()
27
: $this->createResultCollection()->addFieldToFilter($this->
getPrimaryResource
()->getIdFieldName(), $ids);
28
}
29
}
Magento\Framework\Indexer\Action\Entity
Definition:
Entity.php:10
Magento\Framework\Indexer\Action
Definition:
Base.php:6
Magento\Framework\Indexer\Action\Entity\prepareDataSource
prepareDataSource(array $ids=[])
Definition:
Entity.php:23
Magento\Framework\Indexer\Action\Base\getPrimaryResource
getPrimaryResource()
Definition:
Base.php:261
Magento\Framework\App\ResourceConnection\SourceProviderInterface
Definition:
SourceProviderInterface.php:12
Magento\Framework\Indexer\Action\Base
Definition:
Base.php:26
Magento\Framework\Indexer\Action\Entity\$tableAlias
$tableAlias
Definition:
Entity.php:15