function location_province_list_nz in Location 7.3
Same name and namespace in other branches
- 5.3 supported/location.nz.inc \location_province_list_nz()
- 5 supported/location.nz.inc \location_province_list_nz()
- 6.3 supported/location.nz.inc \location_province_list_nz()
- 7.5 supported/location.nz.inc \location_province_list_nz()
- 7.4 supported/location.nz.inc \location_province_list_nz()
Provinces list.
@returns array An associative array of states/territories where -> the keys are province codes -> the values are the English names for those states/territories
The states are grouped together at the beginning of the array and sorted alphabetically.
The territories are grouped together at the end of the array and sorted alphabetically.
File
- supported/
location.nz.inc, line 22 - New Zealand.
Code
function location_province_list_nz() {
return array(
// 1000-2xxx
'AUK' => 'Auckland',
// 3xxx
'BOP' => 'Bay of Plenty',
// 8xxx
'CAN' => 'Canterbury',
// 4xxx
'GIS' => 'Gisborne',
// 4xxx
'HKB' => 'Hawke\'s Bay',
// 7xxx
'MBH' => 'Marlborough',
// 4xxx-4xxx
'MWT' => 'Manawatu-Wanganui',
// 7xxx-7xxx
'NSN' => 'Nelson',
// 0000-0999
'NTL' => 'Northland',
// 9xxx-9xxx
'OTA' => 'Otago',
// 9xxx-9xxx
'STL' => 'Southland',
// 7xxx-7xxx
'TAS' => 'Tasman',
// 4xxx-4xxx
'TKI' => 'Taranaki',
// 5000-6999
'WGN' => 'Wellington',
// 2xxx-3xxx
'WKO' => 'Waikato',
// 7xxx-7xxx
'WTC' => 'West Coast',
);
}