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-customer
Block
Account
Link.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Customer\Block\Account
;
7
8
use
Magento\Customer\Block\Account\SortLinkInterface
;
9
17
class
Link
extends
\Magento\Framework\View\Element\Html\Link
implements
SortLinkInterface
18
{
22
protected
$_customerUrl
;
23
29
public
function
__construct
(
30
\
Magento
\Framework\View\Element\
Template
\
Context
$context,
31
\
Magento
\
Customer
\Model\
Url
$customerUrl
,
32
array
$data
= []
33
) {
34
$this->_customerUrl =
$customerUrl
;
35
parent::__construct($context,
$data
);
36
}
37
41
public
function
getHref
()
42
{
43
return
$this->_customerUrl->getAccountUrl();
44
}
45
50
public
function
getSortOrder
()
51
{
52
return
$this->
getData
(self::SORT_ORDER);
53
}
54
}
Magento\Customer\Block\Account\Link\getHref
getHref()
Definition:
Link.php:41
Magento\Customer\Model\Url
Definition:
Url.php:17
Magento\Framework\DataObject\getData
getData($key='', $index=null)
Definition:
DataObject.php:119
Magento\Customer\Block\Account\Link\getSortOrder
getSortOrder()
Definition:
Link.php:50
$customerUrl
$customerUrl
Definition:
info.phtml:28
Magento\Customer\Block\Account\Customer
Definition:
Customer.php:14
Magento\Framework\View\Element\Template\Context
Definition:
Context.php:23
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Customer\Block\Account
Magento
Magento\Framework\View\Element\Html\Link
Definition:
Link.php:17
Magento\Customer\Block\Account\Link\$_customerUrl
$_customerUrl
Definition:
Link.php:22
Magento\Framework\View\Element\Template
Definition:
Template.php:32
Magento\Customer\Block\Account\Link\__construct
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Customer\Model\Url $customerUrl, array $data=[])
Definition:
Link.php:29
Magento\Customer\Block\Account\Link
Definition:
Link.php:17
Magento\Customer\Block\Account\SortLinkInterface
Definition:
SortLinkInterface.php:14