Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Url Class Reference
Inheritance diagram for Url:
Data AbstractHelper

Public Member Functions

 getCartUrl ()
 
 getMSCheckoutUrl ()
 
 getMSLoginUrl ()
 
 getMSAddressesUrl ()
 
 getMSShippingAddressSavedUrl ()
 
 getMSNewShippingUrl ()
 
 getMSRegisterUrl ()
 
- Public Member Functions inherited from Data
 getCurrentBase64Url ()
 
 getEncodedUrl ($url=null)
 
 addRequestParam ($url, $param)
 
 removeRequestParam ($url, $paramKey, $caseSensitive=false)
 
- Public Member Functions inherited from AbstractHelper
 __construct (Context $context)
 
 isModuleOutputEnabled ($moduleName=null)
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractHelper
 _getRequest ()
 
 _getModuleName ()
 
 _getUrl ($route, $params=[])
 
- Protected Attributes inherited from AbstractHelper
 $_moduleName
 
 $_request
 
 $_moduleManager
 
 $_logger
 
 $_urlBuilder
 
 $_httpHeader
 
 $_eventManager
 
 $_remoteAddress
 
 $urlEncoder
 
 $urlDecoder
 
 $scopeConfig
 
 $_cacheConfig
 

Detailed Description

Definition at line 14 of file Url.php.

Member Function Documentation

◆ getCartUrl()

getCartUrl ( )

Retrieve shopping cart url

Returns
string

Definition at line 21 of file Url.php.

22  {
23  return $this->_getUrl('checkout/cart');
24  }

◆ getMSAddressesUrl()

getMSAddressesUrl ( )

Retrieve address url

Returns
string

Definition at line 51 of file Url.php.

52  {
53  return $this->_getUrl('multishipping/checkout/addresses');
54  }

◆ getMSCheckoutUrl()

getMSCheckoutUrl ( )

Retrieve checkout url

Returns
string

Definition at line 31 of file Url.php.

32  {
33  return $this->_getUrl('multishipping/checkout');
34  }

◆ getMSLoginUrl()

getMSLoginUrl ( )

Retrieve login url

Returns
string

Definition at line 41 of file Url.php.

42  {
43  return $this->_getUrl('multishipping/checkout/login', ['_secure' => true, '_current' => true]);
44  }

◆ getMSNewShippingUrl()

getMSNewShippingUrl ( )

Retrieve register url

Returns
string

Definition at line 71 of file Url.php.

72  {
73  return $this->_getUrl('multishipping/checkout_address/newShipping');
74  }

◆ getMSRegisterUrl()

getMSRegisterUrl ( )

Retrieve register url

Returns
string

Definition at line 81 of file Url.php.

82  {
83  return $this->_getUrl('multishipping/checkout/register');
84  }

◆ getMSShippingAddressSavedUrl()

getMSShippingAddressSavedUrl ( )

Retrieve shipping address save url

Returns
string

Definition at line 61 of file Url.php.

62  {
63  return $this->_getUrl('multishipping/checkout_address/shippingSaved');
64  }

The documentation for this class was generated from the following file: