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-paypal
Controller
Adminhtml
Billing
Agreement
View.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Paypal\Controller\Adminhtml\Billing\Agreement
;
8
9
class
View
extends
\Magento\Paypal\Controller\Adminhtml\Billing\Agreement
10
{
16
const
ADMIN_RESOURCE
=
'Magento_Paypal::billing_agreement_actions_view'
;
17
23
public
function
execute
()
24
{
25
$agreementModel = $this->
_initBillingAgreement
();
26
27
if
($agreementModel) {
28
$this->_view->loadLayout();
29
$this->_setActiveMenu(
'Magento_Paypal::paypal_billing_agreement'
);
30
$this->_view->getPage()->getConfig()->getTitle()->prepend(
31
sprintf(
"#%s"
, $agreementModel->getReferenceId())
32
);
33
$this->_view->getPage()->getConfig()->getTitle()->prepend(
__
(
'Billing Agreements'
));
34
$this->_view->renderLayout();
35
return
;
36
}
37
38
$this->
_redirect
(
'paypal/*/'
);
39
return
;
40
}
41
}
Magento\Paypal\Controller\Adminhtml\Billing\Agreement\View\execute
execute()
Definition:
View.php:23
Magento\Backend\App\AbstractAction\_redirect
_redirect($path, $arguments=[])
Definition:
AbstractAction.php:316
Magento\Paypal\Controller\Adminhtml\Billing\Agreement
Definition:
Agreement.php:11
__
__()
Definition:
__.php:13
Magento\Paypal\Controller\Adminhtml\Billing\Agreement\View\ADMIN_RESOURCE
const ADMIN_RESOURCE
Definition:
View.php:16
Magento\Paypal\Controller\Adminhtml\Billing\Agreement\View
Definition:
View.php:9
Magento\Paypal\Controller\Adminhtml\Billing\Agreement
Definition:
CancelTest.php:6
Magento\Paypal\Controller\Adminhtml\Billing\Agreement\_initBillingAgreement
_initBillingAgreement()
Definition:
Agreement.php:42