Method | Description | |
---|---|---|
config ( ) : Config_ForClass | Helper for getting static shop config. | |
countryCode2name ( $code ) | * Convert iso country code to English country name | |
current ( ) | ||
getCountriesList ( boolean $prefixisocode = false ) : array | Get list of allowed countries | |
getSingleCountry ( $fullname = false ) : string | For shops that only sell to a single country, this will return the country code, otherwise null. | |
get_base_currency ( ) | ||
get_site_currency ( ) | ||
updateCMSFields ( FieldList $fields ) |
public static config ( ) : Config_ForClass | ||
return | Config_ForClass | configuration object |
public static countryCode2name ( $code ) |
public getCountriesList ( boolean $prefixisocode = false ) : array | ||
$prefixisocode | boolean | - prefix the country code |
return | array |
public getSingleCountry ( $fullname = false ) : string | ||
return | string | country code |