ShopDetailsReader
in package
Class ShopDetailsReader
Table of Contents
- $db : CI_DB_query_builder
- $settings : Settings
- __construct() : mixed
- ShopDetailsReader constructor.
- getCountries() : array<string|int, mixed>
- Returns a list of available countries in the shop.
- getDefaultLanguage() : string
- Returns the default language of the shop.
- getKey() : string
- Returns the shop key.
- getLanguages() : array<string|int, mixed>
- Returns a list of available languages in the shop.
- getUrl() : string
- Returns the shop URL.
- getVersion() : string
- Returns the shop version.
Properties
$db
private
CI_DB_query_builder
$db
$settings
private
Settings
$settings
Methods
__construct()
ShopDetailsReader constructor.
public
__construct(Settings $settings, CI_DB_query_builder $db) : mixed
Parameters
- $settings : Settings
- $db : CI_DB_query_builder
Return values
mixed —getCountries()
Returns a list of available countries in the shop.
public
getCountries() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDefaultLanguage()
Returns the default language of the shop.
public
getDefaultLanguage() : string
Return values
string —getKey()
Returns the shop key.
public
getKey() : string
Return values
string —getLanguages()
Returns a list of available languages in the shop.
public
getLanguages() : array<string|int, mixed>
Return values
array<string|int, mixed> —getUrl()
Returns the shop URL.
public
getUrl() : string
Return values
string —getVersion()
Returns the shop version.
public
getVersion() : string