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
DB
Select
InQueryModifier.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\DB\Select
;
7
8
use
Magento\Framework\DB\Select
;
9
13
class
InQueryModifier
implements
QueryModifierInterface
14
{
18
private
$values;
19
25
public
function
__construct
(
26
$values = []
27
) {
28
$this->values = $values;
29
}
30
34
public
function
modify
(
Select
$select
)
35
{
36
foreach
($this->values as $field => $values) {
37
$select
->where($field .
' IN (?)'
, $values);
38
}
39
}
40
}
Magento\Framework\DB\Select
Definition:
Select.php:33
Magento\Framework\DB\Select\QueryModifierInterface
Definition:
QueryModifierInterface.php:13
Magento\Framework\DB\Select\InQueryModifier\__construct
__construct( $values=[])
Definition:
InQueryModifier.php:25
Magento\Framework\DB\Select\InQueryModifier\modify
modify(Select $select)
Definition:
InQueryModifier.php:34
$select
$select
Definition:
catalog_rule_10_off_not_logged_rollback.php:14
Magento\Framework\DB\Select\InQueryModifier
Definition:
InQueryModifier.php:13
Magento\Framework\DB\Select
Definition:
ColumnsRenderer.php:6