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-customer
Model
Metadata
Form
Boolean.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Customer\Model\Metadata\Form
;
9
10
class
Boolean
extends
Select
11
{
18
protected
function
_getOptionText
(
$value
)
19
{
20
switch
(
$value
) {
21
case
'0'
:
22
$text
=
__
(
'No'
);
23
break
;
24
case
'1'
:
25
$text
=
__
(
'Yes'
);
26
break
;
27
default
:
28
$text
=
''
;
29
break
;
30
}
31
return
$text
;
32
}
33
}
Magento\Customer\Model\Metadata\Form\Boolean
Definition:
Boolean.php:10
__
__()
Definition:
__.php:13
$text
endifif( $block->getLastPageNum()>1)( 'Page') ?></strong >< ul class $text
Definition:
pager.phtml:43
$value
$value
Definition:
gender.phtml:16
Magento\Customer\Model\Metadata\Form\Boolean\_getOptionText
_getOptionText($value)
Definition:
Boolean.php:18
Magento\Customer\Model\Metadata\Form\Select
Definition:
Select.php:13
Magento\Customer\Model\Metadata\Form
Definition:
AbstractData.php:9