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-msrp
Block
Popup.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Msrp\Block
;
7
12
class
Popup
extends
\Magento\Framework\View\Element\Template
13
{
17
protected
$config
;
18
24
public
function
__construct
(
25
\
Magento
\Framework\View\Element\Template\
Context
$context,
26
\
Magento
\Msrp\Model\Config
$config
,
27
array
$data
= []
28
) {
29
$this->config =
$config
;
30
parent::__construct($context,
$data
);
31
}
32
36
public
function
isEnabled
()
37
{
38
return
$this->config->isEnabled();
39
}
40
44
public
function
getExplanationMessage
()
45
{
46
return
$this->config->getExplanationMessage();
47
}
48
52
public
function
getExplanationMessageWhatsThis
()
53
{
54
return
$this->config->getExplanationMessageWhatsThis();
55
}
56
}
Magento\Msrp\Block\Popup\isEnabled
isEnabled()
Definition:
Popup.php:36
Magento\Msrp\Block\Popup\getExplanationMessageWhatsThis
getExplanationMessageWhatsThis()
Definition:
Popup.php:52
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Msrp\Block\Popup
Definition:
Popup.php:12
Magento\Msrp\Block\Popup\__construct
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Msrp\Model\Config $config, array $data=[])
Definition:
Popup.php:24
Magento
Magento\Msrp\Block
Magento\Framework\View\Element\Template
Definition:
Template.php:32
Context
Definition:
ClassesForConstructorIntegrity.php:33
Magento\Msrp\Block\Popup\getExplanationMessage
getExplanationMessage()
Definition:
Popup.php:44
Magento\Msrp\Block\Popup\$config
$config
Definition:
Popup.php:17