function countries_api_iso3_get_country in Country codes API 6
Same name and namespace in other branches
- 5 countries_api.module \countries_api_iso3_get_country()
ISO 3166-1-alpha-3 code to country API function
Parameters
$code: An string containg the iso3 value
Return value
string Returns an array containing the country fields
3 calls to countries_api_iso3_get_country()
- countries_api_get_country in ./
countries_api.module - ISO 3166-1-alpha-#n code to country API function
- countries_api_iso3_get_iso2 in ./
countries_api.module - ISO 3166-1-alpha-3 code to ISO 3166-1-alpha-2 code API function
- countries_api_iso3_get_name in ./
countries_api.module - ISO 3166-1-alpha-3 code to country name API function
File
- ./
countries_api.module, line 63 - Countries API provides an API for official and up-to-date ISO 3166 country codes (alpha-2 and alpha-3) and names (official short names).
Code
function countries_api_iso3_get_country($code) {
return _countries_api_get_country($code, COUNTRIES_API_FORMAT_ISO3);
}