You are here

function location_province_list_numeric_au in Location 7.3

Same name and namespace in other branches
  1. 5.3 supported/location.au.inc \location_province_list_numeric_au()
  2. 6.3 supported/location.au.inc \location_province_list_numeric_au()
  3. 7.5 supported/location.au.inc \location_province_list_numeric_au()
  4. 7.4 supported/location.au.inc \location_province_list_numeric_au()

Provinces keyed by numeric.

Returns an associative array of states/territories where -> the keys are integers starting from 1 -> 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.

Currently not being used, but may be in order to be compatible with CiviCRM TODO: These numeric indices need to be changed to match those in the CiviCRM database

File

supported/location.au.inc, line 571
Australia.

Code

function location_province_list_numeric_au() {
  return array(
    '001' => "New South Wales",
    '002' => "Queensland",
    '003' => "South Australia",
    '004' => "Tasmania",
    '005' => "Victoria",
    '006' => "Western Australia",
    '007' => "Australian Capital Territory",
    '008' => "Northern Territory",
  );
}