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-rss
Controller
Index
Index.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Rss\Controller\Index
;
8
9
use
Magento\Framework\Exception\NotFoundException
;
10
11
class
Index
extends
\Magento\Rss\Controller\Index
12
{
19
public
function
execute
()
20
{
21
if
($this->_scopeConfig->getValue(
'rss/config/active'
, \
Magento
\Store\Model\ScopeInterface::SCOPE_STORE)) {
22
$this->_view->loadLayout();
23
$this->_view->renderLayout();
24
}
else
{
25
throw
new
NotFoundException
(
__
(
'Page not found.'
));
26
}
27
}
28
}
Magento\Rss\Controller\Index
Definition:
Index.php:7
Magento\Rss\Controller\Index\Index\execute
execute()
Definition:
Index.php:19
__
__()
Definition:
__.php:13
Magento\Framework\Exception\NotFoundException
Definition:
NotFoundException.php:12
Magento
Magento\Rss\Controller\Index\Index
Definition:
Index.php:11
Magento\Rss\Controller\Index
Definition:
Index.php:12