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-theme
Block
Html
Header.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Theme\Block\Html
;
8
15
class
Header
extends
\Magento\Framework\View\Element\Template
16
{
22
protected
$_template
=
'Magento_Theme::html/header.phtml'
;
23
29
public
function
getWelcome
()
30
{
31
if
(empty($this->_data[
'welcome'
])) {
32
$this->_data[
'welcome'
] = $this->_scopeConfig->getValue(
33
'design/header/welcome'
,
34
\
Magento
\Store\Model\ScopeInterface::SCOPE_STORE
35
);
36
}
37
return
__
($this->_data[
'welcome'
]);
38
}
39
}
Magento\Theme\Block\Html
Definition:
BreadcrumbsTest.php:6
__
__()
Definition:
__.php:13
Magento\Theme\Block\Html\Header\$_template
$_template
Definition:
Header.php:22
Magento\Theme\Block\Html\Header
Definition:
Header.php:15
Magento\Theme\Block\Html\Header\getWelcome
getWelcome()
Definition:
Header.php:29
Magento
Magento\Framework\View\Element\Template
Definition:
Template.php:32