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
magento2-base
dev
tests
integration
testsuite
Magento
Config
Block
System
Config
FieldArray.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Config\Block\System\Config
;
7
8
use
Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray
;
9
13
class
FieldArray
extends
AbstractFieldArray
14
{
18
protected
function
_toHtml
()
19
{
20
$value
=
''
;
21
$element
= $this->getElement();
22
if
(
$element
->getValue() && is_array(
$element
->getValue())) {
23
$value
= implode(
'|'
,
$element
->getValue());
24
}
25
26
return
sprintf(
27
'<input id="%s" name="%s" value="%s" />'
,
28
$element
->getId(),
29
$element
->getName(),
30
$value
31
);
32
}
33
}
Magento\Config\Block\System\Config\FieldArray
Definition:
FieldArray.php:13
$value
$value
Definition:
gender.phtml:16
Magento\Config\Block\System\Config
Definition:
FieldArray.php:6
Magento\Config\Block\System\Config\FieldArray\_toHtml
_toHtml()
Definition:
FieldArray.php:18
Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray
Definition:
AbstractFieldArray.php:16
$element
$element
Definition:
element.phtml:12