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-rss
Model
UrlBuilder.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Rss\Model
;
7
8
use
Magento\Framework\App\Rss\UrlBuilderInterface
;
9
14
class
UrlBuilder
implements
UrlBuilderInterface
15
{
19
protected
$urlBuilder
;
20
24
protected
$config
;
25
30
public
function
__construct
(
31
\
Magento
\Framework\UrlInterface
$urlBuilder
,
32
\
Magento
\Framework\
App
\Config\ScopeConfigInterface $scopeConfig
33
) {
34
$this->urlBuilder =
$urlBuilder
;
35
$this->config = $scopeConfig;
36
}
37
42
public
function
getUrl
(array $queryParams = [])
43
{
44
if
(!$this->config->getValue(
'rss/config/active'
, \
Magento
\Store\Model\ScopeInterface::SCOPE_STORE)) {
45
return
''
;
46
}
47
48
return
$this->urlBuilder->getUrl(
'rss/feed/index'
, $queryParams);
49
}
50
}
Magento\Framework\App
Magento\Rss\Model\UrlBuilder\$urlBuilder
$urlBuilder
Definition:
UrlBuilder.php:19
Magento\Rss\Model\UrlBuilder\$config
$config
Definition:
UrlBuilder.php:24
Magento
Magento\Framework\App\Rss\UrlBuilderInterface
Definition:
UrlBuilderInterface.php:12
Magento\Rss\Model\UrlBuilder
Definition:
UrlBuilder.php:14
Magento\Rss\Model
Definition:
Rss.php:9
Magento\Rss\Model\UrlBuilder\getUrl
getUrl(array $queryParams=[])
Definition:
UrlBuilder.php:42
Magento\Rss\Model\UrlBuilder\__construct
__construct(\Magento\Framework\UrlInterface $urlBuilder, \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig)
Definition:
UrlBuilder.php:30