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-bundle
Controller
Adminhtml
Bundle
Selection
Grid.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Bundle\Controller\Adminhtml\Bundle\Selection
;
8
9
use
Magento\Catalog\Controller\Adminhtml\Product
;
10
11
class
Grid
extends
Product
12
{
16
public
function
execute
()
17
{
18
$index
= $this->
getRequest
()->getParam(
'index'
);
19
if
(!preg_match(
'/^[a-z0-9_.]*$/i'
,
$index
)) {
20
throw
new \InvalidArgumentException(
'Invalid parameter "index"'
);
21
}
22
23
return
$this->
getResponse
()->setBody(
24
$this->_view->getLayout()->createBlock(
25
\
Magento
\Bundle\Block\Adminhtml\Catalog\
Product
\
Edit
\Tab\Bundle\
Option
\
Search
\Grid::class,
26
'adminhtml.catalog.product.edit.tab.bundle.option.search.grid'
27
)->setIndex(
$index
)->toHtml()
28
);
29
}
30
}
Magento\Catalog\Controller\Adminhtml\Product
Definition:
Product.php:14
Magento\Framework\App\Action\AbstractAction\getResponse
getResponse()
Definition:
AbstractAction.php:70
Magento\Catalog\Controller\Adminhtml\Product
Magento\Catalog\Model\Product\Option
Definition:
Option.php:32
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\Catalog\Controller\Adminhtml\Product\Edit
Definition:
Edit.php:11
Magento\Bundle\Controller\Adminhtml\Bundle\Selection
Definition:
Grid.php:7
Magento\Bundle\Controller\Adminhtml\Bundle\Selection\Search
Definition:
Search.php:11
Magento
Magento\Bundle\Controller\Adminhtml\Bundle\Selection\Grid
Definition:
Grid.php:11
Magento\Bundle\Controller\Adminhtml\Bundle\Selection\Grid\execute
execute()
Definition:
Grid.php:16
$index
$index
Definition:
list.phtml:44