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
Rss
EmailLink.php
Go to the documentation of this file.
1
<?php
10
namespace
Magento\Wishlist\Block\Rss
;
11
19
class
EmailLink
extends
Link
20
{
24
protected
$_template
=
'Magento_Wishlist::rss/email.phtml'
;
25
29
protected
function
getLinkParams
()
30
{
31
$params
= parent::getLinkParams();
32
$wishlist
= $this->wishlistHelper->getWishlist();
33
$sharingCode =
$wishlist
->getSharingCode();
34
if
($sharingCode) {
35
$params
[
'sharing_code'
] = $sharingCode;
36
}
37
return
$params
;
38
}
39
}
$wishlist
$wishlist
Definition:
wishlist.php:10
Magento\Wishlist\Block\Rss
Definition:
EmailLink.php:10
Magento\Wishlist\Block\Rss\EmailLink\$_template
$_template
Definition:
EmailLink.php:24
$params
$params[\Magento\Store\Model\StoreManager::PARAM_RUN_CODE]
Definition:
website.php:18
Magento\Wishlist\Block\Rss\EmailLink\getLinkParams
getLinkParams()
Definition:
EmailLink.php:29
Magento\Wishlist\Block\Rss\EmailLink
Definition:
EmailLink.php:19
Magento\Wishlist\Block\Rss\Link
Definition:
Link.php:16