Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Renderer $renderer, RegionFactory $regionFactory, CountryFactory $countryFactory) | |
getStoreInformationObject (Store $store) | |
getFormattedAddress (Store $store) | |
Data Fields | |
const | XML_PATH_STORE_INFO_NAME = 'general/store_information/name' |
const | XML_PATH_STORE_INFO_PHONE = 'general/store_information/phone' |
const | XML_PATH_STORE_INFO_HOURS = 'general/store_information/hours' |
const | XML_PATH_STORE_INFO_STREET_LINE1 = 'general/store_information/street_line1' |
const | XML_PATH_STORE_INFO_STREET_LINE2 = 'general/store_information/street_line2' |
const | XML_PATH_STORE_INFO_CITY = 'general/store_information/city' |
const | XML_PATH_STORE_INFO_POSTCODE = 'general/store_information/postcode' |
const | XML_PATH_STORE_INFO_REGION_CODE = 'general/store_information/region_id' |
const | XML_PATH_STORE_INFO_COUNTRY_CODE = 'general/store_information/country_id' |
const | XML_PATH_STORE_INFO_VAT_NUMBER = 'general/store_information/merchant_vat_number' |
Protected Attributes | |
$renderer | |
$countryFactory | |
$regionFactory | |
Store information class used to retrieve and format store information as set in store config
@api
Definition at line 20 of file Information.php.
__construct | ( | Renderer | $renderer, |
RegionFactory | $regionFactory, | ||
CountryFactory | $countryFactory | ||
) |
Renderer | $renderer | |
RegionFactory | $regionFactory | |
CountryFactory | $countryFactory |
Definition at line 64 of file Information.php.
getFormattedAddress | ( | Store | $store | ) |
Retrieve formatted store address from config
Store | $store |
Definition at line 112 of file Information.php.
getStoreInformationObject | ( | Store | $store | ) |
Retrieve generic object with all the misc store information values
Store | $store |
Definition at line 80 of file Information.php.
|
protected |
Definition at line 52 of file Information.php.
|
protected |
Definition at line 57 of file Information.php.
|
protected |
#- #-
Definition at line 47 of file Information.php.
const XML_PATH_STORE_INFO_CITY = 'general/store_information/city' |
Definition at line 35 of file Information.php.
const XML_PATH_STORE_INFO_COUNTRY_CODE = 'general/store_information/country_id' |
Definition at line 41 of file Information.php.
const XML_PATH_STORE_INFO_HOURS = 'general/store_information/hours' |
Definition at line 29 of file Information.php.
const XML_PATH_STORE_INFO_NAME = 'general/store_information/name' |
#+ Configuration paths
Definition at line 25 of file Information.php.
const XML_PATH_STORE_INFO_PHONE = 'general/store_information/phone' |
Definition at line 27 of file Information.php.
const XML_PATH_STORE_INFO_POSTCODE = 'general/store_information/postcode' |
Definition at line 37 of file Information.php.
const XML_PATH_STORE_INFO_REGION_CODE = 'general/store_information/region_id' |
Definition at line 39 of file Information.php.
const XML_PATH_STORE_INFO_STREET_LINE1 = 'general/store_information/street_line1' |
Definition at line 31 of file Information.php.
const XML_PATH_STORE_INFO_STREET_LINE2 = 'general/store_information/street_line2' |
Definition at line 33 of file Information.php.
const XML_PATH_STORE_INFO_VAT_NUMBER = 'general/store_information/merchant_vat_number' |
Definition at line 43 of file Information.php.