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-braintree
Controller
Adminhtml
Report
Index.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Braintree\Controller\Adminhtml\Report
;
7
8
use
Magento\Backend\App\Action
;
9
use
Magento\Backend\App\Action\Context
;
10
use
Magento\Backend\Model\View\Result\Page
;
11
use
Magento\Framework\View\Result\PageFactory
;
12
16
class
Index
extends
Action
17
{
21
protected
$resultPageFactory
;
22
23
const
ADMIN_RESOURCE
=
'Magento_Braintree::settlement_report'
;
24
29
public
function
__construct
(
30
Context
$context,
31
PageFactory
$resultPageFactory
32
) {
33
parent::__construct($context);
34
$this->resultPageFactory =
$resultPageFactory
;
35
}
36
42
public
function
execute
()
43
{
45
$resultPage = $this->resultPageFactory->create();
46
$resultPage->setActiveMenu(static::ADMIN_RESOURCE);
47
$resultPage
48
->getConfig()
49
->getTitle()
50
->prepend(
__
(
'Braintree Settlement Report'
));
51
52
return
$resultPage;
53
}
54
}
__
__()
Definition:
__.php:13
Magento\Braintree\Controller\Adminhtml\Report\Index
Definition:
Index.php:16
Magento\Braintree\Controller\Adminhtml\Report\Index\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
Index.php:23
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Framework\View\Result\PageFactory
Definition:
PageFactory.php:19
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\Braintree\Controller\Adminhtml\Report\Index\__construct
__construct(Context $context, PageFactory $resultPageFactory)
Definition:
Index.php:29
Magento\Backend\App\Action\Context
Definition:
Context.php:25
Magento\Braintree\Controller\Adminhtml\Report
Definition:
Index.php:6
Magento\Braintree\Controller\Adminhtml\Report\Index\$resultPageFactory
$resultPageFactory
Definition:
Index.php:21
Magento\Backend\App\Action
Definition:
Context.php:6
Magento\Backend\Model\View\Result\Page
Definition:
Page.php:15