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-config
Model
Config
Structure
AbstractMapper.php
Go to the documentation of this file.
1
<?php
10
namespace
Magento\Config\Model\Config\Structure
;
11
16
abstract
class
AbstractMapper
implements
MapperInterface
17
{
25
protected
function
_hasValue
($key,
$target
)
26
{
27
if
(
false
== is_array(
$target
)) {
28
return
false
;
29
}
30
31
$paths
= explode(
'/'
, $key);
32
foreach
(
$paths
as
$path
) {
33
if
(array_key_exists(
$path
,
$target
)) {
34
$target
=
$target
[
$path
];
35
}
else
{
36
return
false
;
37
}
38
}
39
return
true
;
40
}
41
}
$target
$target
Definition:
skip.phtml:8
Magento\Config\Model\Config\Structure\AbstractMapper\_hasValue
_hasValue($key, $target)
Definition:
AbstractMapper.php:25
Magento\Config\Model\Config\Structure
Definition:
AbstractElement.php:6
$paths
$paths
Definition:
_bootstrap.php:83
$path
$path
Definition:
import_with_filesystem_images.php:14
Magento\Config\Model\Config\Structure\AbstractMapper
Definition:
AbstractMapper.php:16
Magento\Config\Model\Config\Structure\MapperInterface
Definition:
MapperInterface.php:16