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-catalog
Model
Config
Source
Price
Step.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Catalog\Model\Config\Source\Price
;
7
8
use
Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmFactory
;
9
use
Magento\Framework\Option\ArrayInterface
;
10
11
class
Step
implements
ArrayInterface
12
{
18
public
function
toOptionArray
()
19
{
20
return
[
21
[
22
'value'
=> AlgorithmFactory::RANGE_CALCULATION_AUTO,
23
'label'
=>
__
(
'Automatic (equalize price ranges)'
),
24
],
25
[
26
'value'
=> AlgorithmFactory::RANGE_CALCULATION_IMPROVED,
27
'label'
=>
__
(
'Automatic (equalize product counts)'
)
28
],
29
[
30
'value'
=> AlgorithmFactory::RANGE_CALCULATION_MANUAL,
31
'label'
=>
__
(
'Manual'
)
32
]
33
];
34
}
35
}
Magento\Catalog\Model\Config\Source\Price\Step\toOptionArray
toOptionArray()
Definition:
Step.php:18
Magento\Catalog\Model\Config\Source\Price
Definition:
Scope.php:6
Magento\Catalog\Model\Config\Source\Price\Step
Definition:
Step.php:11
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Catalog\Model\Layer\Filter\Dynamic\AlgorithmFactory
Definition:
AlgorithmFactory.php:14