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-review
Controller
Product
ListAjax.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Review\Controller\Product
;
8
9
use
Magento\Framework\App\ResponseInterface
;
10
use
Magento\Framework\Controller\ResultInterface
;
11
use
Magento\Framework\View\Result\Layout
;
12
use
Magento\Review\Controller\Product
as
ProductController
;
13
use
Magento\Framework\Controller\ResultFactory
;
14
use
Magento\Framework\App\Action\HttpGetActionInterface
as HttpGetActionInterface;
15
16
class
ListAjax
extends
ProductController
implements HttpGetActionInterface
17
{
23
public
function
execute
()
24
{
25
if
(!$this->
initProduct
()) {
27
$resultForward = $this->resultFactory->create(ResultFactory::TYPE_FORWARD);
28
return
$resultForward->forward(
'noroute'
);
29
}
30
31
return
$this->resultFactory->create(ResultFactory::TYPE_LAYOUT);
32
}
33
}
Magento\Review\Controller\Product\ListAjax
Definition:
ListAjax.php:16
Magento\Framework\App\Action\HttpGetActionInterface
Definition:
HttpGetActionInterface.php:16
Magento\Framework\View\Layout
Definition:
Layout.php:28
Magento\Framework\Controller\ResultFactory
Definition:
ResultFactory.php:17
Magento\Framework\Controller\ResultInterface
Definition:
ResultInterface.php:19
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Review\Controller\Product
Definition:
ListAction.php:6
Magento\Review\Controller\Product\initProduct
initProduct()
Definition:
Product.php:177
Magento\Framework\App\ResponseInterface
Definition:
ResponseInterface.php:14