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-analytics
Block
Adminhtml
System
Config
Vertical.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Analytics\Block\Adminhtml\System\Config
;
7
11
class
Vertical
extends
\Magento\Config\Block\System\Config\Form\Field
12
{
16
public
function
render
(\
Magento
\Framework\Data\Form\Element\AbstractElement
$element
)
17
{
18
$html =
'<div class="config-vertical-title">'
.
$element
->getHint() .
'</div>'
;
19
$html .=
'<div class="config-vertical-comment">'
.
$element
->getComment() .
'</div>'
;
20
return
$this->decorateRowHtml(
$element
, $html);
21
}
22
30
private
function
decorateRowHtml(\
Magento
\Framework\Data\Form\Element\AbstractElement
$element
, $html)
31
{
32
$rowHtml = sprintf(
'<tr><td colspan="4">%s</td></tr>'
, $html);
33
$rowHtml .= sprintf(
34
'<tr id="row_%s"><td class="label config-vertical-label">%s</td><td class="value">%s</td></tr>'
,
35
$element
->getHtmlId(),
36
$element
->getLabelHtml(
$element
->getHtmlId(),
"[WEBSITE]"
),
37
$element
->getElementHtml()
38
);
39
return
$rowHtml;
40
}
41
}
Magento\Analytics\Block\Adminhtml\System\Config\Vertical
Definition:
Vertical.php:11
Magento
Magento\Analytics\Block\Adminhtml\System\Config
Definition:
CollectionTimeLabelTest.php:7
Magento\Analytics\Block\Adminhtml\System\Config\Vertical\render
render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
Definition:
Vertical.php:16
$element
$element
Definition:
element.phtml:12