HermesHSICountriesHelper

package

Default

Methods

Returns a list of countries (active/inactive) sorted by the lexicographic conventions of a given locale.

getCountries(boolean $active, string $locale = 'de_DE') : array
static

If ext-intl (Collator class) is unavailable, strcmp() will be used instead.

Returns an array of arrays with keys countries_id, iso2 and name.

Arguments

$active

boolean

$locale

string

Response

array