Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Member Functions | |
_getCheckout () | |
_getState () | |
_getHelper () | |
_getCheckoutSession () | |
_validateMinimumAmount () | |
![]() | |
_preDispatchValidateCustomer ($redirect=true, $addErrors=true) | |
![]() | |
_forward ($action, $controller=null, $module=null, array $params=null) | |
_redirect ($path, $arguments=[]) | |
Additional Inherited Members | |
![]() | |
const | FLAG_NO_DISPATCH = 'no-dispatch' |
const | FLAG_NO_POST_DISPATCH = 'no-postDispatch' |
const | FLAG_NO_DISPATCH_BLOCK_EVENT = 'no-beforeGenerateLayoutBlocksDispatch' |
const | PARAM_NAME_BASE64_URL = 'r64' |
const | PARAM_NAME_URL_ENCODED = 'uenc' |
![]() | |
$_customerSession | |
$customerRepository | |
$accountManagement | |
![]() | |
$_objectManager | |
$_sessionNamespace | |
$_eventManager | |
$_actionFlag | |
$_redirect | |
$_view | |
$_url | |
$messageManager | |
![]() | |
$_request | |
$_response | |
$resultRedirectFactory | |
$resultFactory | |
Multishipping checkout controller @SuppressWarnings(PHPMD.NumberOfChildren) @SuppressWarnings(PHPMD.CouplingBetweenObjects)
Definition at line 18 of file Checkout.php.
__construct | ( | \Magento\Framework\App\Action\Context | $context, |
\Magento\Customer\Model\Session | $customerSession, | ||
CustomerRepositoryInterface | $customerRepository, | ||
AccountManagementInterface | $accountManagement | ||
) |
Constructor
\Magento\Framework\App\Action\Context | $context | |
\Magento\Customer\Model\Session | $customerSession | |
CustomerRepositoryInterface | $customerRepository | |
AccountManagementInterface | $accountManagement |
Definition at line 29 of file Checkout.php.
|
protected |
Retrieve checkout model
Definition at line 48 of file Checkout.php.
|
protected |
Retrieve checkout session
Definition at line 78 of file Checkout.php.
|
protected |
Retrieve checkout url helper
Definition at line 68 of file Checkout.php.
|
protected |
Retrieve checkout state model
Definition at line 58 of file Checkout.php.
|
protected |
Validate minimum amount
Definition at line 179 of file Checkout.php.
dispatch | ( | RequestInterface | $request | ) |
Dispatch request
RequestInterface | $request |
Catch index action call to set some flags before checkout/type_multishipping model initialization
Definition at line 92 of file Checkout.php.
getActionFlagList | ( | ) |
Returns a list of action flags [flag_key] => boolean
Implements RedirectLoginInterface.
Definition at line 207 of file Checkout.php.
getCustomerBeforeAuthUrl | ( | ) |
Returns before_auth_url redirect parameter for customer session
Implements RedirectLoginInterface.
Definition at line 195 of file Checkout.php.
getLoginUrl | ( | ) |
Returns login url parameter for redirect
Implements RedirectLoginInterface.
Definition at line 217 of file Checkout.php.
getRedirectActionName | ( | ) |
Returns action name which requires redirect
Implements RedirectLoginInterface.
Definition at line 227 of file Checkout.php.