Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Url.php
Go to the documentation of this file.
1 <?php
13 
14 class Url extends \Magento\Framework\Url\Helper\Data
15 {
21  public function getCartUrl()
22  {
23  return $this->_getUrl('checkout/cart');
24  }
25 
31  public function getMSCheckoutUrl()
32  {
33  return $this->_getUrl('multishipping/checkout');
34  }
35 
41  public function getMSLoginUrl()
42  {
43  return $this->_getUrl('multishipping/checkout/login', ['_secure' => true, '_current' => true]);
44  }
45 
51  public function getMSAddressesUrl()
52  {
53  return $this->_getUrl('multishipping/checkout/addresses');
54  }
55 
61  public function getMSShippingAddressSavedUrl()
62  {
63  return $this->_getUrl('multishipping/checkout_address/shippingSaved');
64  }
65 
71  public function getMSNewShippingUrl()
72  {
73  return $this->_getUrl('multishipping/checkout_address/newShipping');
74  }
75 
81  public function getMSRegisterUrl()
82  {
83  return $this->_getUrl('multishipping/checkout/register');
84  }
85 }