phpDocumentor

HermesHSICountriesHelper
in package

Table of Contents

getCountries()  : array<string|int, mixed>
Returns a list of countries (active/inactive) sorted by the lexicographic conventions of a given locale.

Methods

getCountries()

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

public static getCountries(bool $active[, string $locale = 'de_DE' ]) : array<string|int, mixed>

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

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

Parameters
$active : bool
$locale : string = 'de_DE'
Return values
array<string|int, mixed>

Search results