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
Handler
DefaultHandler.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Indexer\Handler
;
7
8
use
Magento\Framework\App\ResourceConnection\SourceProviderInterface
;
9
use
Magento\Framework\Indexer\HandlerInterface
;
10
11
class
DefaultHandler
implements
HandlerInterface
12
{
19
public
function
prepareSql
(
SourceProviderInterface
$source
,
$alias
, $fieldInfo)
20
{
21
$source
->getSelect()->columns($fieldInfo[
'origin'
] .
' AS '
. $fieldInfo[
'name'
],
$alias
);
22
}
23
}
Magento\Framework\Indexer\HandlerInterface
Definition:
HandlerInterface.php:14
$source
$source
Definition:
source.php:23
Magento\Framework\Indexer\Handler\DefaultHandler
Definition:
DefaultHandler.php:11
Magento\Framework\App\ResourceConnection\SourceProviderInterface
Definition:
SourceProviderInterface.php:12
Magento\Framework\Indexer\Handler
Definition:
AttributeHandler.php:6
Magento\Framework\Indexer\Handler\DefaultHandler\prepareSql
prepareSql(SourceProviderInterface $source, $alias, $fieldInfo)
Definition:
DefaultHandler.php:19
$alias
if(!trim($html)) $alias
Definition:
details.phtml:20