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-wishlist
Block
Customer
Wishlist
Button.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Wishlist\Block\Customer\Wishlist
;
13
18
class
Button
extends
\Magento\Framework\View\Element\Template
19
{
25
protected
$_wishlistConfig
;
26
32
protected
$_wishlistData
=
null
;
33
40
public
function
__construct
(
41
\
Magento
\Framework\View\Element\
Template
\
Context
$context,
42
\
Magento
\
Wishlist
\Helper\Data $wishlistData,
43
\
Magento
\
Wishlist
\Model\
Config
$wishlistConfig,
44
array
$data
= []
45
) {
46
$this->_wishlistData = $wishlistData;
47
$this->_wishlistConfig = $wishlistConfig;
48
parent::__construct($context,
$data
);
49
}
50
56
public
function
getWishlist
()
57
{
58
return
$this->_wishlistData->getWishlist();
59
}
60
66
public
function
getConfig
()
67
{
68
return
$this->_wishlistConfig
;
69
}
70
}
Magento\Wishlist\Block\Customer\Wishlist\Button\getWishlist
getWishlist()
Definition:
Button.php:56
Magento\Wishlist\Block\Customer\Wishlist
Definition:
Wishlist.php:18
Magento\Framework\View\Element\Template\Context
Definition:
Context.php:23
Magento\Wishlist\Block\Customer\Wishlist\Button\$_wishlistData
$_wishlistData
Definition:
Button.php:32
Magento\Wishlist\Block\Customer\Wishlist
Magento\Wishlist\Block\Customer\Wishlist\Button\getConfig
getConfig()
Definition:
Button.php:66
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento
Magento\Wishlist\Block\Customer\Wishlist\Button
Definition:
Button.php:18
Magento\Framework\View\Element\Template
Definition:
Template.php:32
Magento\Wishlist\Block\Customer\Wishlist\Button\$_wishlistConfig
$_wishlistConfig
Definition:
Button.php:25
Magento\Wishlist\Block\Customer\Wishlist\Button\__construct
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Wishlist\Helper\Data $wishlistData, \Magento\Wishlist\Model\Config $wishlistConfig, array $data=[])
Definition:
Button.php:40
Magento\Framework\App\ResourceConnection\Config
Definition:
Config.php:14