Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getId () | |
setId ($id) | |
getCode () | |
setCode ($code) | |
getWebsiteId () | |
setWebsiteId ($websiteId) | |
getLocale () | |
setLocale ($locale) | |
getBaseCurrencyCode () | |
setBaseCurrencyCode ($baseCurrencyCode) | |
getDefaultDisplayCurrencyCode () | |
setDefaultDisplayCurrencyCode ($defaultDisplayCurrencyCode) | |
getWeightUnit () | |
setWeightUnit ($weightUnit) | |
getBaseUrl () | |
setBaseUrl ($baseUrl) | |
getBaseLinkUrl () | |
setBaseLinkUrl ($baseLinkUrl) | |
getTimezone () | |
setTimezone ($timezone) | |
getBaseStaticUrl () | |
setBaseStaticUrl ($baseStaticUrl) | |
getBaseMediaUrl () | |
setBaseMediaUrl ($baseMediaUrl) | |
getSecureBaseUrl () | |
setSecureBaseUrl ($secureBaseUrl) | |
getSecureBaseLinkUrl () | |
setSecureBaseLinkUrl ($secureBaseLinkUrl) | |
getSecureBaseStaticUrl () | |
setSecureBaseStaticUrl ($secureBaseStaticUrl) | |
getSecureBaseMediaUrl () | |
setSecureBaseMediaUrl ($secureBaseMediaUrl) | |
getExtensionAttributes () | |
setExtensionAttributes (\Magento\Store\Api\Data\StoreConfigExtensionInterface $extensionAttributes) | |
![]() | |
__construct (\Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory, AttributeValueFactory $attributeValueFactory, $data=[]) | |
getCustomAttribute ($attributeCode) | |
getCustomAttributes () | |
setCustomAttributes (array $attributes) | |
![]() | |
__construct (array $data=[]) | |
setData ($key, $value) | |
__toArray () | |
![]() | |
setCustomAttribute ($attributeCode, $attributeValue) | |
![]() | |
setExtensionAttributes (\Magento\Store\Api\Data\StoreConfigExtensionInterface $extensionAttributes) | |
Data Fields | |
const | KEY_ID = 'id' |
const | KEY_CODE = 'code' |
const | KEY_WEBSITE_ID = 'website_id' |
const | KEY_LOCALE = 'locale' |
const | KEY_BASE_CURRENCY_CODE = 'base_currency_code' |
const | KEY_DEFAULT_DISPLAY_CURRENCY_CODE = 'default_display_currency_code' |
const | KEY_TIMEZONE = 'timezone' |
const | KEY_WEIGHT_UNIT = 'weight_unit' |
const | KEY_BASE_URL = 'base_url' |
const | KEY_BASE_LINK_URL = 'base_link_url' |
const | KEY_BASE_STATIC_URL = 'base_static_url' |
const | KEY_BASE_MEDIA_URL = 'base_media_url' |
const | KEY_SECURE_BASE_URL = 'secure_base_url' |
const | KEY_SECURE_BASE_LINK_URL = 'secure_base_link_url' |
const | KEY_SECURE_BASE_STATIC_URL = 'secure_base_static_url' |
const | KEY_SECURE_BASE_MEDIA_URL = 'secure_base_media_url' |
![]() | |
const | CUSTOM_ATTRIBUTES_KEY = 'custom_attributes' |
![]() | |
const | CUSTOM_ATTRIBUTES = 'custom_attributes' |
![]() | |
const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
Additional Inherited Members | |
![]() | |
getCustomAttributesCodes () | |
_getExtensionAttributes () | |
_setExtensionAttributes (\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes) | |
![]() | |
_get ($key) | |
![]() | |
$extensionFactory | |
$attributeValueFactory | |
$customAttributesCodes | |
![]() | |
$_data | |
getBaseCurrencyCode | ( | ) |
Get base currency code
Implements StoreConfigInterface.
Definition at line 122 of file StoreConfig.php.
getBaseLinkUrl | ( | ) |
Get base link URL for the store
Implements StoreConfigInterface.
Definition at line 206 of file StoreConfig.php.
getBaseMediaUrl | ( | ) |
Get base media URL for the store
Implements StoreConfigInterface.
Definition at line 269 of file StoreConfig.php.
getBaseStaticUrl | ( | ) |
Get base static URL for the store
Implements StoreConfigInterface.
Definition at line 248 of file StoreConfig.php.
getBaseUrl | ( | ) |
Get base URL for the store
Implements StoreConfigInterface.
Definition at line 185 of file StoreConfig.php.
getCode | ( | ) |
Get store code
Implements StoreConfigInterface.
Definition at line 59 of file StoreConfig.php.
getDefaultDisplayCurrencyCode | ( | ) |
Get default display currency code
Implements StoreConfigInterface.
Definition at line 143 of file StoreConfig.php.
getExtensionAttributes | ( | ) |
{Retrieve existing extension attributes object or create a new one.
Implements StoreConfigInterface.
Definition at line 374 of file StoreConfig.php.
getId | ( | ) |
Get store id
Implements StoreConfigInterface.
Definition at line 38 of file StoreConfig.php.
getLocale | ( | ) |
Get store locale
Implements StoreConfigInterface.
Definition at line 101 of file StoreConfig.php.
getSecureBaseLinkUrl | ( | ) |
Get secure base link URL for the store
Implements StoreConfigInterface.
Definition at line 311 of file StoreConfig.php.
getSecureBaseMediaUrl | ( | ) |
Get secure base media URL for the store
Implements StoreConfigInterface.
Definition at line 353 of file StoreConfig.php.
getSecureBaseStaticUrl | ( | ) |
Get secure base static URL for the store
Implements StoreConfigInterface.
Definition at line 332 of file StoreConfig.php.
getSecureBaseUrl | ( | ) |
Get secure base URL for the store
Implements StoreConfigInterface.
Definition at line 290 of file StoreConfig.php.
getTimezone | ( | ) |
Get timezone of the store
Implements StoreConfigInterface.
Definition at line 227 of file StoreConfig.php.
getWebsiteId | ( | ) |
Get website id of the store
Implements StoreConfigInterface.
Definition at line 80 of file StoreConfig.php.
getWeightUnit | ( | ) |
Return the unit of weight
Implements StoreConfigInterface.
Definition at line 164 of file StoreConfig.php.
setBaseCurrencyCode | ( | $baseCurrencyCode | ) |
Set base currency code
string | $baseCurrencyCode |
Implements StoreConfigInterface.
Definition at line 133 of file StoreConfig.php.
setBaseLinkUrl | ( | $baseLinkUrl | ) |
Get base link URL for the store
string | $baseLinkUrl |
Implements StoreConfigInterface.
Definition at line 217 of file StoreConfig.php.
setBaseMediaUrl | ( | $baseMediaUrl | ) |
Set base media URL for the store
string | $baseMediaUrl |
Implements StoreConfigInterface.
Definition at line 280 of file StoreConfig.php.
setBaseStaticUrl | ( | $baseStaticUrl | ) |
Set base static URL for the store
string | $baseStaticUrl |
Implements StoreConfigInterface.
Definition at line 259 of file StoreConfig.php.
setBaseUrl | ( | $baseUrl | ) |
set base URL
string | $baseUrl |
Implements StoreConfigInterface.
Definition at line 196 of file StoreConfig.php.
setCode | ( | $code | ) |
Set store code
string | $code |
Implements StoreConfigInterface.
Definition at line 70 of file StoreConfig.php.
setDefaultDisplayCurrencyCode | ( | $defaultDisplayCurrencyCode | ) |
Set default display currency code
string | $defaultDisplayCurrencyCode |
Implements StoreConfigInterface.
Definition at line 154 of file StoreConfig.php.
setExtensionAttributes | ( | \Magento\Store\Api\Data\StoreConfigExtensionInterface | $extensionAttributes | ) |
{}
\Magento\Store\Api\Data\StoreConfigExtensionInterface | $extensionAttributes |
Definition at line 385 of file StoreConfig.php.
setId | ( | $id | ) |
Set store id
int | $id |
Implements StoreConfigInterface.
Definition at line 49 of file StoreConfig.php.
setLocale | ( | $locale | ) |
Set store locale
string | $locale |
Implements StoreConfigInterface.
Definition at line 112 of file StoreConfig.php.
setSecureBaseLinkUrl | ( | $secureBaseLinkUrl | ) |
Set secure base link URL for the store
string | $secureBaseLinkUrl |
Implements StoreConfigInterface.
Definition at line 322 of file StoreConfig.php.
setSecureBaseMediaUrl | ( | $secureBaseMediaUrl | ) |
Set secure base media URL for the store
string | $secureBaseMediaUrl |
Implements StoreConfigInterface.
Definition at line 364 of file StoreConfig.php.
setSecureBaseStaticUrl | ( | $secureBaseStaticUrl | ) |
Set secure base static URL for the store
string | $secureBaseStaticUrl |
Implements StoreConfigInterface.
Definition at line 343 of file StoreConfig.php.
setSecureBaseUrl | ( | $secureBaseUrl | ) |
set secure base URL
string | $secureBaseUrl |
Implements StoreConfigInterface.
Definition at line 301 of file StoreConfig.php.
setTimezone | ( | $timezone | ) |
Set timezone of the store
string | $timezone |
Implements StoreConfigInterface.
Definition at line 238 of file StoreConfig.php.
setWebsiteId | ( | $websiteId | ) |
Set website id
int | $websiteId |
Implements StoreConfigInterface.
Definition at line 91 of file StoreConfig.php.
setWeightUnit | ( | $weightUnit | ) |
Set the unit of weight
string | $weightUnit |
Implements StoreConfigInterface.
Definition at line 175 of file StoreConfig.php.
const KEY_BASE_CURRENCY_CODE = 'base_currency_code' |
Definition at line 20 of file StoreConfig.php.
const KEY_BASE_LINK_URL = 'base_link_url' |
Definition at line 25 of file StoreConfig.php.
const KEY_BASE_MEDIA_URL = 'base_media_url' |
Definition at line 27 of file StoreConfig.php.
const KEY_BASE_STATIC_URL = 'base_static_url' |
Definition at line 26 of file StoreConfig.php.
const KEY_BASE_URL = 'base_url' |
Definition at line 24 of file StoreConfig.php.
const KEY_CODE = 'code' |
Definition at line 17 of file StoreConfig.php.
const KEY_DEFAULT_DISPLAY_CURRENCY_CODE = 'default_display_currency_code' |
Definition at line 21 of file StoreConfig.php.
const KEY_ID = 'id' |
Definition at line 16 of file StoreConfig.php.
const KEY_LOCALE = 'locale' |
Definition at line 19 of file StoreConfig.php.
const KEY_SECURE_BASE_LINK_URL = 'secure_base_link_url' |
Definition at line 29 of file StoreConfig.php.
const KEY_SECURE_BASE_MEDIA_URL = 'secure_base_media_url' |
Definition at line 31 of file StoreConfig.php.
const KEY_SECURE_BASE_STATIC_URL = 'secure_base_static_url' |
Definition at line 30 of file StoreConfig.php.
const KEY_SECURE_BASE_URL = 'secure_base_url' |
Definition at line 28 of file StoreConfig.php.
const KEY_TIMEZONE = 'timezone' |
Definition at line 22 of file StoreConfig.php.
const KEY_WEBSITE_ID = 'website_id' |
Definition at line 18 of file StoreConfig.php.
const KEY_WEIGHT_UNIT = 'weight_unit' |
Definition at line 23 of file StoreConfig.php.