StatesProvincesList
class StatesProvincesList (View source)
Properties
protected | $localizedStatesProvinces |
Methods
array
getAll()
Returns the list of States/Provinces for some countries (States/Provinces are sorted alphabetically).
string|null
getStateProvinceName(string $code, string $country)
Returns the name of a specified State/Province in a specified Country.
array|null
getStateProvinceArray(string $country)
Returns a list of States/Provinces for a country.
array
array
Details
array
getAll()
Returns the list of States/Provinces for some countries (States/Provinces are sorted alphabetically).
string|null
getStateProvinceName(string $code, string $country)
Returns the name of a specified State/Province in a specified Country.
array|null
getStateProvinceArray(string $country)
Returns a list of States/Provinces for a country.
array
getStates()
deprecated
deprecated
Returns the list of US states.
array
getCanadianProvinces()
deprecated
deprecated
Returns the list of Canadian provinces.