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-multishipping
Controller
Checkout
Address.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Multishipping\Controller\Checkout
;
7
11
abstract
class
Address
extends
\Magento\Framework\App\Action\Action
12
{
16
public
function
dispatch
(\
Magento
\Framework\
App
\
RequestInterface
$request
)
17
{
18
if
(!$this->
_getCheckout
()->getCustomer()->getId()) {
19
return
$this->
_redirect
(
'customer/account/login'
);
20
}
21
return
parent::dispatch(
$request
);
22
}
23
29
protected
function
_getCheckout
()
30
{
31
return
$this->_objectManager->get(\
Magento
\
Multishipping
\Model\
Checkout
\
Type
\Multishipping::class);
32
}
33
39
protected
function
_getState
()
40
{
41
return
$this->_objectManager->get(\
Magento
\
Multishipping
\Model\
Checkout
\
Type
\
Multishipping
\State::class);
42
}
43
}
Magento\Framework\App
Magento\Framework\App\Action\Action\_redirect
_redirect($path, $arguments=[])
Definition:
Action.php:167
Magento\Multishipping\Controller\Checkout\Address\_getState
_getState()
Definition:
Address.php:39
Magento\Multishipping\Controller\Checkout
Definition:
CheckItemsTest.php:8
Magento\Multishipping\Controller\Checkout\Address\dispatch
dispatch(\Magento\Framework\App\RequestInterface $request)
Definition:
Address.php:16
Magento\Catalog\Model\Product\Type
Definition:
Type.php:17
Magento\Multishipping\Controller\Checkout
Definition:
Checkout.php:18
Magento\Multishipping\Controller\Checkout\Address
Definition:
Address.php:11
Magento\Multishipping\Controller\Checkout\Address\_getCheckout
_getCheckout()
Definition:
Address.php:29
Magento\Framework\App\RequestInterface
Definition:
RequestInterface.php:14
Magento
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Framework\App\Action\Action
Definition:
Action.php:25
Magento\Multishipping\Model\Checkout\Type\Multishipping
Definition:
Multishipping.php:28