PHP » GoLang |
login |
register |
about
|
GoLang ResourceBundle::getLocales
request it (322)
GoLang replacement for PHP's ResourceBundle::getLocales
[edit | history]
PHP ResourceBundle::getLocalesPHP original manual for ResourceBundle::getLocales [ show | php.net ]ResourceBundle::getLocalesresourcebundle_locales(PHP 5 >= 5.3.2, PHP 7, PECL intl >= 2.0.0) ResourceBundle::getLocales -- resourcebundle_locales — Get supported locales DescriptionObject oriented style
public
array
ResourceBundle::getLocales
( string
$bundlename
)Procedural style
array
resourcebundle_locales
( string
$bundlename
)Get available locales from ResourceBundle name. Parameters
Return ValuesReturns the list of locales supported by the bundle. ExamplesExample #1 resourcebundle_locales() example
<?php The above example will output something similar to: es root Example #2 OO example
<?php The above example will output something similar to: es root |
more
Recently updated
more
Most requested
more
Last requests
|