SessionGeneralSettings
in package
Uses
ElementTrait
This is the SessionGeneralSettings class.
The SessionGeneralSettings items will be stored in that class and will remain immutable (only get methods are available)
Tags
Table of Contents
COUNTRY | = 'country' | |
---|---|---|
CURRENCY | = 'currency' | |
DEFAULT_AVAILABLE_LANGUAGES | = 'defaultAvailableLanguages' | |
DEFAULT_ROUTE | = 'defaultRoute' | |
DEFAULT_THEME | = 'defaultTheme' | |
LANGUAGE | = 'language' | |
LOCALE | = 'locale' | |
STORE_URL | = 'storeURL' | |
getCountry() | Returns the sessionGeneralSettings country value. | : string |
getCurrency() | Returns the sessionGeneralSettings currency value. | : string |
getDefaultAvailableLanguages() | Returns the sessionGeneralSettings defaultAvailableLanguages value. | : array<string|int, mixed> |
getDefaultRoute() | Returns the sessionGeneralSettings defaultRoute value. | : null|Route |
getDefaultTheme() | Returns the sessionGeneralSettings defaultTheme value. | : null|Theme |
getLanguage() | Returns the sessionGeneralSettings language value. | : string |
getLocale() | Returns the sessionGeneralSettings locale value. | : string |
getStoreURL() | Returns the sessionGeneralSettings storeURL value. | : string |
Constants
COUNTRY
public
mixed
COUNTRY
= 'country'
CURRENCY
public
mixed
CURRENCY
= 'currency'
DEFAULT_AVAILABLE_LANGUAGES
public
mixed
DEFAULT_AVAILABLE_LANGUAGES
= 'defaultAvailableLanguages'
DEFAULT_ROUTE
public
mixed
DEFAULT_ROUTE
= 'defaultRoute'
DEFAULT_THEME
public
mixed
DEFAULT_THEME
= 'defaultTheme'
LANGUAGE
public
mixed
LANGUAGE
= 'language'
LOCALE
public
mixed
LOCALE
= 'locale'
STORE_URL
public
mixed
STORE_URL
= 'storeURL'
Methods
getCountry()
Returns the sessionGeneralSettings country value.
public
getCountry() : string
Return values
string —getCurrency()
Returns the sessionGeneralSettings currency value.
public
getCurrency() : string
Return values
string —getDefaultAvailableLanguages()
Returns the sessionGeneralSettings defaultAvailableLanguages value.
public
getDefaultAvailableLanguages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDefaultRoute()
Returns the sessionGeneralSettings defaultRoute value.
public
getDefaultRoute() : null|Route
Return values
null|Route —getDefaultTheme()
Returns the sessionGeneralSettings defaultTheme value.
public
getDefaultTheme() : null|Theme
Return values
null|Theme —getLanguage()
Returns the sessionGeneralSettings language value.
public
getLanguage() : string
Return values
string —getLocale()
Returns the sessionGeneralSettings locale value.
public
getLocale() : string
Return values
string —getStoreURL()
Returns the sessionGeneralSettings storeURL value.
public
getStoreURL() : string