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-send-friend
Model
Source
Checktype.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\SendFriend\Model\Source
;
13
14
class
Checktype
implements
\Magento\Framework\Option\ArrayInterface
15
{
21
public
function
toOptionArray
()
22
{
23
return
[
24
[
'value'
=>
\Magento\SendFriend\Helper\Data::CHECK_IP
,
'label'
=>
__
(
'IP Address'
)],
25
[
'value'
=>
\Magento\SendFriend\Helper\Data::CHECK_COOKIE
,
'label'
=>
__
(
'Cookie (unsafe)'
)]
26
];
27
}
28
}
Magento\SendFriend\Helper\Data\CHECK_IP
const CHECK_IP
Definition:
Data.php:33
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\SendFriend\Model\Source
Definition:
Checktype.php:12
Magento\SendFriend\Helper\Data\CHECK_COOKIE
const CHECK_COOKIE
Definition:
Data.php:35
Magento\SendFriend\Model\Source\Checktype
Definition:
Checktype.php:14
Magento\SendFriend\Model\Source\Checktype\toOptionArray
toOptionArray()
Definition:
Checktype.php:21