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-review
Block
Adminhtml
Rating
Edit
Tabs.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Review\Block\Adminhtml\Rating\Edit
;
7
13
class
Tabs
extends
\Magento\Backend\Block\Widget\Tabs
14
{
18
protected
function
_construct
()
19
{
20
parent::_construct();
21
$this->setId(
'rating_tabs'
);
22
$this->
setDestElementId
(
'edit_form'
);
23
$this->setTitle(
__
(
'Rating Information'
));
24
}
25
29
protected
function
_beforeToHtml
()
30
{
31
$this->
addTab
(
32
'form_section'
,
33
[
34
'label'
=>
__
(
'Rating Information'
),
35
'title'
=>
__
(
'Rating Information'
),
36
'content'
=> $this->
getLayout
()
37
->createBlock(\
Magento
\Review\Block\Adminhtml\
Rating
\
Edit
\Tab\Form::class)
38
->
toHtml
()
39
]
40
);
41
return
parent::_beforeToHtml();
42
}
43
}
Magento\Review\Block\Adminhtml\Rating\Edit\Tabs
Definition:
Tabs.php:13
Magento\Review\Block\Adminhtml\Rating\Edit\Tabs\_beforeToHtml
_beforeToHtml()
Definition:
Tabs.php:29
Magento\Framework\View\Element\BlockInterface\toHtml
toHtml()
__
__()
Definition:
__.php:13
Magento\Backend\Block\Widget\Tabs\addTab
addTab($tabId, $tab)
Definition:
Tabs.php:115
Magento\Backend\Block\Widget\Tabs\setDestElementId
setDestElementId($elementId)
Definition:
Tabs.php:86
Magento\Framework\View\Element\AbstractBlock\getLayout
getLayout()
Definition:
AbstractBlock.php:295
Magento
Magento\Review\Block\Adminhtml\Rating\Edit
Definition:
Form.php:6
Magento\Review\Block\Adminhtml\Rating\Edit
Definition:
Edit.php:11
Magento\Review\Model\Rating
Definition:
Rating.php:23
Magento\Review\Block\Adminhtml\Rating\Edit\Tabs\_construct
_construct()
Definition:
Tabs.php:18