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-ui
Controller
Adminhtml
AbstractAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Ui\Controller\Adminhtml
;
7
8
use
Magento\Backend\App\Action
;
9
use
Magento\Backend\App\Action\Context
;
10
use
Magento\Ui\Controller\UiActionInterface
;
11
use
Magento\Framework\View\Element\UiComponentFactory
;
12
18
abstract
class
AbstractAction
extends
Action
implements
UiActionInterface
19
{
23
protected
$factory
;
24
29
public
function
__construct
(
Context
$context,
UiComponentFactory
$factory
)
30
{
31
parent::__construct($context);
32
$this->factory =
$factory
;
33
}
34
40
protected
function
getName
()
41
{
42
return
$this->_request->getParam(
'name'
);
43
}
44
50
protected
function
getComponent
()
51
{
52
return
$this->_request->getParam(
'component'
);
53
}
54
60
public
function
executeAjaxRequest
()
61
{
62
$this->
execute
();
63
}
64
68
protected
function
_isAllowed
()
69
{
70
return
true
;
71
}
72
}
Magento\Framework\View\Element\UiComponentFactory
Definition:
UiComponentFactory.php:29
Magento\Ui\Controller\UiActionInterface
Definition:
UiActionInterface.php:11
Magento\Ui\Controller\Adminhtml\AbstractAction\__construct
__construct(Context $context, UiComponentFactory $factory)
Definition:
AbstractAction.php:29
Magento\Ui\Controller\Adminhtml\AbstractAction\getName
getName()
Definition:
AbstractAction.php:40
Magento\Ui\Controller\Adminhtml\AbstractAction\getComponent
getComponent()
Definition:
AbstractAction.php:50
Magento\Ui\Controller\Adminhtml
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\Ui\Controller\Adminhtml\AbstractAction
Definition:
AbstractAction.php:18
Magento\Ui\Controller\Adminhtml\AbstractAction\_isAllowed
_isAllowed()
Definition:
AbstractAction.php:68
Magento\Ui\Controller\Adminhtml\AbstractAction\$factory
$factory
Definition:
AbstractAction.php:23
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Backend\App\Action
Definition:
Context.php:6
Magento\Ui\Controller\Adminhtml\AbstractAction\executeAjaxRequest
executeAjaxRequest()
Definition:
AbstractAction.php:60