function countries_api_iso2_get_country in Country codes API 5
Same name and namespace in other branches
- 6 countries_api.module \countries_api_iso2_get_country()
ISO 3166-1-alpha-2 code to country API function
Parameters
$code : An string containg the iso3 value
Return value
string Returns an array containing the country fields
4 calls to countries_api_iso2_get_country()
- countries_api_get_country in ./
countries_api.module - ISO 3166-1-alpha-#n code to country API function
- countries_api_iso2_get_iso3 in ./
countries_api.module - ISO 3166-1-alpha-2 code to ISO 3166-1-alpha-3 code API function
- countries_api_iso2_get_name in ./
countries_api.module - ISO 3166-1-alpha-2 code to country name API function
- countries_api_service_iso2_get_country in contrib/
countries_api_service/ countries_api_service.module - Service for accessing countries_api_iso2_get_country()
File
- ./
countries_api.module, line 46
Code
function countries_api_iso2_get_country($code) {
return _countries_api_iso_get_country($code, 'iso2');
}