function countries_api_numcode_get_name in Country codes API 5
Same name and namespace in other branches
- 6 countries_api.module \countries_api_numcode_get_name()
ISO 3166-1 numcode to country name API function
Parameters
$code: numcode to search by.
Return value
string Returns country name as a string.
File
- ./
countries_api.module, line 159
Code
function countries_api_numcode_get_name($code) {
$_country = countries_api_numcode_get_country($code);
if (!is_null($_country)) {
return $_country['name'];
}
return NULL;
}