\CountryURLProvider
Usage: $myAnswer = CountryPrice_Translation::get_country_url_provider() ->getSomething();
Synopsis
class CountryURLProvider
extends Object
implements
CountryURLProviderInterface
{
- // members
- private static string $locale_get_parameter = 'ecomlocale';
- // methods
- public bool hasCountrySegment()
- public string|null CurrentCountrySegment()
- public string|null replaceCountryCodeInUrl()
- public string getCurrentURL()
Hierarchy
Members
private
- $locale_get_parameter — string
Methods
public
- CurrentCountrySegment() — returns the selected country code if there is onCurrentCountrySegmente ...
- getCurrentURL()
- hasCountrySegment() — returns the selected country code if there is one ...
- replaceCountryCodeInUrl() — replaces a country code in a URL with another one