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-rule
Model
ResourceModel
Rule
DateApplier.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\SalesRule\Model\ResourceModel\Rule
;
7
12
class
DateApplier
13
{
19
public
function
applyDate
(
$select
, $now)
20
{
21
$select
->where(
22
'from_date is null or from_date <= ?'
,
23
$now
24
)->where(
25
'to_date is null or to_date >= ?'
,
26
$now
27
);
28
}
29
}
$select
$select
Definition:
catalog_rule_10_off_not_logged_rollback.php:14
Magento\SalesRule\Model\ResourceModel\Rule\DateApplier\applyDate
applyDate($select, $now)
Definition:
DateApplier.php:19
Magento\SalesRule\Model\ResourceModel\Rule
Definition:
CollectionTest.php:6
Magento\SalesRule\Model\ResourceModel\Rule\DateApplier
Definition:
DateApplier.php:12