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-marketplace
Controller
Adminhtml
Partners
Index.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Marketplace\Controller\Adminhtml\Partners
;
8
9
class
Index
extends
\Magento\Marketplace\Controller\Adminhtml\Partners
10
{
14
protected
$resultPageFactory
;
15
19
protected
$layoutFactory
;
20
25
public
function
__construct
(
26
\
Magento
\Backend\
App
\Action\
Context
$context,
27
\
Magento
\Framework\View\LayoutFactory
$layoutFactory
28
) {
29
parent::__construct($context);
30
$this->layoutFactory =
$layoutFactory
;
31
}
32
36
public
function
execute
()
37
{
38
if
($this->
getRequest
()->isAjax()) {
39
$output
= $this->
getLayoutFactory
()->create()
40
->createBlock(\
Magento
\Marketplace\Block\Partners::class)
41
->toHtml();
42
$this->
getResponse
()->appendBody(
$output
);
43
}
44
}
45
49
public
function
getLayoutFactory
()
50
{
51
return
$this->layoutFactory
;
52
}
53
}
Magento\Marketplace\Controller\Adminhtml\Partners\Index\$layoutFactory
$layoutFactory
Definition:
Index.php:19
Magento\Framework\App
Magento\Marketplace\Controller\Adminhtml\Partners\Index
Definition:
Index.php:9
Magento\Framework\App\Action\AbstractAction\getResponse
getResponse()
Definition:
AbstractAction.php:70
Magento\Marketplace\Controller\Adminhtml\Partners\Index\__construct
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\LayoutFactory $layoutFactory)
Definition:
Index.php:25
Magento\Marketplace\Controller\Adminhtml\Partners\Index\execute
execute()
Definition:
Index.php:36
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\Marketplace\Controller\Adminhtml\Partners
Definition:
Partners.php:10
$output
$output
Definition:
classmap_generator.php:100
Magento
Magento\Marketplace\Controller\Adminhtml\Partners
Definition:
Index.php:7
Magento\Marketplace\Controller\Adminhtml\Partners\Index\getLayoutFactory
getLayoutFactory()
Definition:
Index.php:49
Context
Definition:
ClassesForConstructorIntegrity.php:33
Magento\Marketplace\Controller\Adminhtml\Partners\Index\$resultPageFactory
$resultPageFactory
Definition:
Index.php:14