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-catalog
Block
Adminhtml
Product
Edit
Tab
ChildTab.php
Go to the documentation of this file.
1
<?php
10
namespace
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab
;
11
12
class
ChildTab
extends
\Magento\Backend\Block\Template
13
{
17
protected
$tab
;
18
23
public
function
setTab
(\
Magento
\Backend\Block\
Widget
\
Tab
\
TabInterface
$tab
)
24
{
25
$this->tab =
$tab
;
26
return
$this;
27
}
28
32
public
function
getTitle
()
33
{
34
return
$this->tab->getTabTitle();
35
}
36
40
public
function
getContent
()
41
{
42
return
$this->tab->toHtml();
43
}
44
48
public
function
getTabId
()
49
{
50
return
$this->tab->getTabId();
51
}
52
56
public
function
isTabOpened
()
57
{
58
return
(
bool
)$this->tab->getData(
'opened'
);
59
}
60
}
Magento\Backend\Block\Widget
Definition:
Widget.php:15
Magento\Backend\Block\Template
Definition:
Template.php:33
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab\$tab
$tab
Definition:
ChildTab.php:17
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab\getTabId
getTabId()
Definition:
ChildTab.php:48
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab
Definition:
ChildTab.php:12
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab\setTab
setTab(\Magento\Backend\Block\Widget\Tab\TabInterface $tab)
Definition:
ChildTab.php:23
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab\getTitle
getTitle()
Definition:
ChildTab.php:32
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab\getContent
getContent()
Definition:
ChildTab.php:40
Magento
Magento\Backend\Block\Widget\Tab\TabInterface
Definition:
TabInterface.php:14
Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\ChildTab\isTabOpened
isTabOpened()
Definition:
ChildTab.php:56
Magento\Backend\Block\Widget\Tab
Definition:
Tab.php:15