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
Block
SectionConfig.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Block
;
7
12
class
SectionConfig
extends
\Magento\Framework\View\Element\Template
13
{
17
protected
$sectionConfig
;
18
25
protected
$clientSideSections
;
26
33
public
function
__construct
(
34
\
Magento
\Framework\View\Element\Template\
Context
$context,
35
\
Magento
\Framework\Config\DataInterface
$sectionConfig
,
36
array
$data
= [],
37
array
$clientSideSections
= []
38
) {
39
parent::__construct($context,
$data
);
40
$this->sectionConfig =
$sectionConfig
;
41
$this->clientSideSections = array_values(
$clientSideSections
);
42
}
43
49
public
function
getSections
()
50
{
51
return
$this->sectionConfig->get(
'sections'
);
52
}
53
58
public
function
getClientSideSections
()
59
{
60
return
$this->clientSideSections
;
61
}
62
}
Magento\Customer\Block\SectionConfig\$clientSideSections
$clientSideSections
Definition:
SectionConfig.php:25
Magento\Customer\Block\SectionConfig
Definition:
SectionConfig.php:12
Magento\Customer\Block\SectionConfig\getClientSideSections
getClientSideSections()
Definition:
SectionConfig.php:58
Magento\Customer\Block\SectionConfig\__construct
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Framework\Config\DataInterface $sectionConfig, array $data=[], array $clientSideSections=[])
Definition:
SectionConfig.php:33
Magento\Customer\Block\SectionConfig\$sectionConfig
$sectionConfig
Definition:
SectionConfig.php:17
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento
Magento\Framework\View\Element\Template
Definition:
Template.php:32
Magento\Customer\Block
Magento\Customer\Block\SectionConfig\getSections
getSections()
Definition:
SectionConfig.php:49
Context
Definition:
ClassesForConstructorIntegrity.php:33