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-url-rewrite
Block
Link.php
Go to the documentation of this file.
1
<?php
14
namespace
Magento\UrlRewrite\Block
;
15
16
class
Link
extends
\Magento\Framework\View\Element\AbstractBlock
17
{
23
protected
function
_toHtml
()
24
{
25
return
'<p>'
. $this->getLabel() .
' <a href="'
. $this->getItemUrl() .
'">'
. $this->
escapeHtml
(
26
$this->getItemName()
27
) .
'</a></p>'
;
28
}
29
}
Magento\UrlRewrite\Block
Magento\Framework\View\Element\AbstractBlock
Definition:
AbstractBlock.php:25
Magento\UrlRewrite\Block\Link\_toHtml
_toHtml()
Definition:
Link.php:23
Magento\Framework\View\Element\AbstractBlock\escapeHtml
escapeHtml($data, $allowedTags=null)
Definition:
AbstractBlock.php:890
Magento\UrlRewrite\Block\Link
Definition:
Link.php:16