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)
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
c
d
e
f
g
h
i
m
p
r
s
t
u
+
Functions
_
c
d
e
f
g
h
i
m
p
r
s
t
u
Variables
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
c
d
e
f
g
m
o
r
s
t
v
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
vendor
magento
module-wishlist
Block
Adminhtml
WishlistTab.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Wishlist\Block\Adminhtml
;
7
8
use
Magento\Framework\Registry
;
9
use
Magento\Backend\Block\Template\Context
;
10
use
Magento\Ui\Component\Layout\Tabs\TabWrapper
;
11
use
Magento\Ui\Component\Layout\Tabs\TabInterface
;
12
use
Magento\Customer\Controller\RegistryConstants
;
13
17
class
WishlistTab
extends
TabWrapper
implements
TabInterface
18
{
24
protected
$coreRegistry
=
null
;
25
29
protected
$isAjaxLoaded
=
true
;
30
38
public
function
__construct
(
Context
$context,
Registry
$registry
, array
$data
= [])
39
{
40
$this->coreRegistry =
$registry
;
41
parent::__construct($context,
$data
);
42
}
43
47
public
function
canShowTab
()
48
{
49
return
$this->coreRegistry->registry(
RegistryConstants::CURRENT_CUSTOMER_ID
);
50
}
51
57
public
function
getTabLabel
()
58
{
59
return
__
(
'Wish List'
);
60
}
61
67
public
function
getTabUrl
()
68
{
69
return
$this->
getUrl
(
'customer/*/wishlist'
, [
'_current'
=>
true
]);
70
}
71
}
Magento\Wishlist\Block\Adminhtml\WishlistTab\__construct
__construct(Context $context, Registry $registry, array $data=[])
Definition:
WishlistTab.php:38
Magento\Backend\Block\Template\Context
Definition:
Context.php:23
Magento\Customer\Controller\RegistryConstants\CURRENT_CUSTOMER_ID
const CURRENT_CUSTOMER_ID
Definition:
RegistryConstants.php:17
Magento\Ui\Component\Layout\Tabs\TabInterface
Definition:
TabInterface.php:11
Magento\Ui\Component\Layout\Tabs\TabWrapper
Definition:
TabWrapper.php:13
Magento\Wishlist\Block\Adminhtml
Magento\Wishlist\Block\Adminhtml\WishlistTab\canShowTab
canShowTab()
Definition:
WishlistTab.php:47
Magento\Wishlist\Block\Adminhtml\WishlistTab
Definition:
WishlistTab.php:17
Magento\Customer\Controller\RegistryConstants
Definition:
RegistryConstants.php:12
__
__()
Definition:
__.php:13
Magento\Wishlist\Block\Adminhtml\WishlistTab\getTabLabel
getTabLabel()
Definition:
WishlistTab.php:57
$registry
$registry
Definition:
bundle_product_with_not_visible_children_rollback.php:16
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Wishlist\Block\Adminhtml\WishlistTab\getTabUrl
getTabUrl()
Definition:
WishlistTab.php:67
Magento\Framework\View\Element\AbstractBlock\getUrl
getUrl($route='', $params=[])
Definition:
AbstractBlock.php:773
Magento\Wishlist\Block\Adminhtml\WishlistTab\$isAjaxLoaded
$isAjaxLoaded
Definition:
WishlistTab.php:29
Magento\Wishlist\Block\Adminhtml\WishlistTab\$coreRegistry
$coreRegistry
Definition:
WishlistTab.php:24
Magento\Framework\Registry
Definition:
Registry.php:18