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-backend
Controller
Adminhtml
Auth
DeniedIframe.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Backend\Controller\Adminhtml\Auth
;
8
9
class
DeniedIframe
extends
\Magento\Backend\Controller\Adminhtml\Auth
10
{
14
protected
$resultRawFactory
;
15
20
public
function
__construct
(
21
\
Magento
\Backend\
App
\
Action
\
Context
$context,
22
\
Magento
\Framework\Controller\Result\RawFactory
$resultRawFactory
23
) {
24
parent::__construct($context);
25
$this->resultRawFactory =
$resultRawFactory
;
26
}
27
33
protected
function
_getDeniedIframe
()
34
{
35
return
'<script>parent.window.location = \''
36
. $this->_helper->getHomePageUrl() .
'\'
;</script>
';
37
}
38
44
public function execute()
45
{
47
$resultRaw = $this->resultRawFactory->create();
48
return $resultRaw->setContents($this->_getDeniedIframe());
49
}
50
}
Magento\Framework\App
Magento\Backend\Controller\Adminhtml\Auth\DeniedIframe\$resultRawFactory
$resultRawFactory
Definition:
DeniedIframe.php:14
Magento\Backend\Controller\Adminhtml\Auth\DeniedIframe\_getDeniedIframe
_getDeniedIframe()
Definition:
DeniedIframe.php:33
Magento\Backend\Controller\Adminhtml\Auth
Definition:
Auth.php:13
Magento\Backend\Controller\Adminhtml\Auth
Definition:
DeniedIframe.php:7
Magento\Backend\App\Action
Definition:
Action.php:17
Magento\Backend\Controller\Adminhtml\Auth\DeniedIframe
Definition:
DeniedIframe.php:9
Magento\Backend\Controller\Adminhtml\Auth\DeniedIframe\__construct
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Controller\Result\RawFactory $resultRawFactory)
Definition:
DeniedIframe.php:20
Magento
Magento\Backend\App\Action\Context
Definition:
Context.php:25