function countries_api_get_formats in Country codes API 5
Same name and namespace in other branches
- 6 countries_api.module \countries_api_get_formats()
Funtion to return available formats
Return value
array Returns an array of available formats
2 calls to countries_api_get_formats()
- CountriesApiTest::test_countries_api_get_formats in tests/
countries_api.test - Function to test countries_api_get_formats() results
- countries_api_validate_format in ./
countries_api.module - Function to validate format argument
File
- ./
countries_api.module, line 245
Code
function countries_api_get_formats() {
return array(
'iso2',
'iso3',
'name',
'printable_name',
'numcode',
);
}