ResourceBundle::getLocalesresourcebundle_localesGet supported locales DescriptionObject-oriented style
public static arrayfalse ResourceBundle::getLocales(string
$bundle)Procedural style arrayfalse resourcebundle_locales(string
$bundle)Get available locales from ResourceBundle name. Parameters
Return Values
Returns the list of locales supported by the bundle, or ExamplesExample #1 resourcebundle_locales example The above example will output something similar to: es root Example #2 OO example The above example will output something similar to: es root See Also
|