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-tax
Model
System
Config
Source
PriceType.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Tax\Model\System\Config\Source
;
7
8
class
PriceType
implements
\Magento\Framework\Option\ArrayInterface
9
{
13
protected
$_options
;
14
18
public
function
__construct
()
19
{
20
$this->_options = [
21
[
'value'
=> 0,
'label'
=>
__
(
'Excluding Tax'
)],
22
[
'value'
=> 1,
'label'
=>
__
(
'Including Tax'
)],
23
];
24
}
25
29
public
function
toOptionArray
()
30
{
31
return
$this->_options
;
32
}
33
}
Magento\Tax\Model\System\Config\Source\PriceType
Definition:
PriceType.php:8
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Tax\Model\System\Config\Source\PriceType\__construct
__construct()
Definition:
PriceType.php:18
Magento\Tax\Model\System\Config\Source\PriceType\toOptionArray
toOptionArray()
Definition:
PriceType.php:29
Magento\Tax\Model\System\Config\Source
Definition:
Algorithm.php:6
Magento\Tax\Model\System\Config\Source\PriceType\$_options
$_options
Definition:
PriceType.php:13