Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Success.php
Go to the documentation of this file.
1 <?php
13 
19 {
25  public function __construct(
26  \Magento\Framework\View\Element\Template\Context $context,
27  \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping,
28  array $data = []
29  ) {
30  parent::__construct($context, $multishipping, $data);
31  $this->_isScopePrivate = true;
32  }
33 
37  public function getOrderIds()
38  {
39  $ids = $this->_session->getOrderIds();
40  if ($ids && is_array($ids)) {
41  return $ids;
42  }
43  return false;
44  }
45 
50  public function getViewOrderUrl($orderId)
51  {
52  return $this->getUrl('sales/order/view/', ['order_id' => $orderId, '_secure' => true]);
53  }
54 
58  public function getContinueUrl()
59  {
60  return $this->_storeManager->getStore()->getBaseUrl();
61  }
62 }
__construct(\Magento\Framework\View\Element\Template\Context $context, \Magento\Multishipping\Model\Checkout\Type\Multishipping $multishipping, array $data=[])
Definition: Success.php:25