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-newsletter
Controller
Adminhtml
Subscriber
Index.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Newsletter\Controller\Adminhtml\Subscriber
;
8
9
use
Magento\Framework\App\Action\HttpGetActionInterface
as HttpGetActionInterface;
10
use
Magento\Framework\App\Action\HttpPostActionInterface
;
11
use
Magento\Newsletter\Controller\Adminhtml\Subscriber
as
SubscriberAction
;
12
13
class
Index
extends
SubscriberAction
implements HttpGetActionInterface,
HttpPostActionInterface
14
{
20
public
function
execute
()
21
{
22
if
($this->
getRequest
()->getParam(
'ajax'
)) {
23
$this->
_forward
(
'grid'
);
24
return
;
25
}
26
27
$this->_view->loadLayout();
28
29
$this->_setActiveMenu(
'Magento_Newsletter::newsletter_subscriber'
);
30
$this->_view->getPage()->getConfig()->getTitle()->prepend(
__
(
'Newsletter Subscribers'
));
31
32
$this->
_addBreadcrumb
(
__
(
'Newsletter'
),
__
(
'Newsletter'
));
33
$this->
_addBreadcrumb
(
__
(
'Subscribers'
),
__
(
'Subscribers'
));
34
35
$this->_view->renderLayout();
36
}
37
}
Magento\Newsletter\Controller\Adminhtml\Subscriber\Index\execute
execute()
Definition:
Index.php:20
Magento\Framework\App\Action\HttpGetActionInterface
Definition:
HttpGetActionInterface.php:16
__
__()
Definition:
__.php:13
Magento\Framework\App\Action\AbstractAction\getRequest
getRequest()
Definition:
AbstractAction.php:60
Magento\Backend\App\AbstractAction\_addBreadcrumb
_addBreadcrumb($label, $title, $link=null)
Definition:
AbstractAction.php:154
Magento\Newsletter\Controller\Adminhtml\Subscriber\Index
Definition:
Index.php:13
Magento\Framework\App\Action\HttpPostActionInterface
Definition:
HttpPostActionInterface.php:16
Magento\Backend\App\AbstractAction\_forward
_forward($action, $controller=null, $module=null, array $params=null)
Definition:
AbstractAction.php:333
Magento\Newsletter\Controller\Adminhtml\Subscriber
Definition:
ExportCsv.php:7