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
Controller
Adminhtml
Transactions
View.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Sales\Controller\Adminhtml\Transactions
;
8
9
use
Magento\Backend\App\Action
;
10
use
Magento\Backend\Model\View\Result\Page
;
11
12
class
View
extends
\Magento\Sales\Controller\Adminhtml\Transactions
13
{
19
public
function
execute
()
20
{
21
$txn = $this->
_initTransaction
();
22
if
(!$txn) {
24
$resultRedirect = $this->resultRedirectFactory->create();
25
return
$resultRedirect->setPath(
'sales/*/'
);
26
}
28
$resultPage = $this->resultPageFactory->create();
29
$resultPage->setActiveMenu(
'Magento_Sales::sales_transactions'
);
30
$resultPage->getConfig()->getTitle()->prepend(
__
(
'Transactions'
));
31
$resultPage->getConfig()->getTitle()->prepend(sprintf(
"#%s"
, $txn->getTxnId()));
32
33
return
$resultPage;
34
}
35
}
__
__()
Definition:
__.php:13
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Sales\Controller\Adminhtml\Transactions\_initTransaction
_initTransaction()
Definition:
Transactions.php:76
Magento\Sales\Controller\Adminhtml\Transactions
Definition:
Fetch.php:7
Magento\Backend\App\Action
Definition:
Context.php:6
Magento\Backend\Model\View\Result\Page
Definition:
Page.php:15
Magento\Sales\Controller\Adminhtml\Transactions\View
Definition:
View.php:12
Magento\Sales\Controller\Adminhtml\Transactions
Definition:
Transactions.php:19