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-backend
Controller
Adminhtml
Dashboard
ProductsViewed.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Backend\Controller\Adminhtml\Dashboard
;
8
9
class
ProductsViewed
extends
AjaxBlock
10
{
16
public
function
execute
()
17
{
18
$output
= $this->layoutFactory->create()
19
->createBlock(\
Magento
\Backend\Block\
Dashboard
\Tab\Products\Viewed::class)
20
->toHtml();
21
$resultRaw = $this->resultRawFactory->create();
22
return
$resultRaw->setContents(
$output
);
23
}
24
}
Magento\Backend\Controller\Adminhtml\Dashboard
Definition:
ProductsViewedTest.php:7
Magento\Backend\Controller\Adminhtml\Dashboard\ProductsViewed
Definition:
ProductsViewed.php:9
Magento\Backend\Controller\Adminhtml\Dashboard\ProductsViewed\execute
execute()
Definition:
ProductsViewed.php:16
$output
$output
Definition:
classmap_generator.php:100
Magento
Magento\Backend\Controller\Adminhtml\Dashboard\AjaxBlock
Definition:
AjaxBlock.php:9
Magento\Backend\Controller\Adminhtml\Dashboard
Definition:
Dashboard.php:14