|
Locale::getAllVariantslocale_get_all_variantsGets the variants for the input locale BeschreibungObjektorientierter Stil
public
static
array
Locale::getAllVariants
( string
$locale
)Prozeduraler Stil
array
locale_get_all_variants
( string
$locale
)Gets the variants for the input locale Parameter-Liste
Rückgabewerte
The array containing the list of all variants subtag for the locale
or BeispieleBeispiel #1 locale_get_all_variants example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array (
0 => 'NEDIS',
1 => 'ROJAZ',
2 => '1901',
)
Siehe auch
|