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-sales-rule
Controller
Adminhtml
Promo
Quote
Chooser.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\SalesRule\Controller\Adminhtml\Promo\Quote
;
8
9
class
Chooser
extends
\Magento\SalesRule\Controller\Adminhtml\Promo\Quote
10
{
16
public
function
execute
()
17
{
18
$uniqId = $this->
getRequest
()->getParam(
'uniq_id'
);
19
$chooserBlock = $this->_view->getLayout()->createBlock(
20
\
Magento
\SalesRule\Block\Adminhtml\Promo\Widget\Chooser::class,
21
''
,
22
[
'data'
=> [
'id'
=> $uniqId]]
23
);
24
$this->
getResponse
()->setBody($chooserBlock->toHtml());
25
}
26
}
Magento\SalesRule\Controller\Adminhtml\Promo\Quote\Chooser
Definition:
Chooser.php:9
Magento\Framework\App\Action\AbstractAction\getResponse
getResponse()
Definition:
AbstractAction.php:70
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\SalesRule\Controller\Adminhtml\Promo\Quote\Chooser\execute
execute()
Definition:
Chooser.php:16
Magento
Magento\SalesRule\Controller\Adminhtml\Promo\Quote
Definition:
ApplyRules.php:7
Magento\SalesRule\Controller\Adminhtml\Promo\Quote
Definition:
Quote.php:8