|
MessageFormatter::getLocalemsgfmt_get_localeGet the locale for which the formatter was created. BeschreibungObjektorientierter Stil
public
string
MessageFormatter::getLocale
( void
)
Prozeduraler Stil
string
msgfmt_get_locale
( NumberFormatter
$formatter
)Get the locale for which the formatter was created. Parameter-Liste
RückgabewerteThe locale name BeispieleBeispiel #1 msgfmt_get_locale example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: en_US Siehe auch
|