Query: resourcebundle_locales
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RESOURCEBUNDLE_LOCALES(3) 1 RESOURCEBUNDLE_LOCALES(3) ResourceBundle::getLocales - Get supported locales Object oriented styleSYNOPSISpublic array ResourceBundle::getLocales (string $bundlename)DESCRIPTIONProcedural style array resourcebundle_locales (string $bundlename) Get available locales from ResourceBundle name.PARAMETERSo $bundlename - Path of ResourceBundle for which to get available locales, or empty string for default locales list.RETURN VALUESReturns the list of locales supported by the bundle.EXAMPLESExample #1 resourcebundle_locales(3) example <?php $bundle = "/user/share/data/myapp"; echo join(PHP_EOL, resourcebundle_locales($bundle)); ?> The above example will output something similar to: es root Example #2 OO example <?php $bundle = "/usr/share/data/myapp"; $r = new ResourceBundle( 'es', $bundle); echo join(" ", $r->getLocales($bundle)); ?> The above example will output something similar to: es rootSEE ALSOresourcebundle_get(3). PHP Documentation Group RESOURCEBUNDLE_LOCALES(3)
| Related Man Pages | 
|---|
| cairo_available_surfaces(3) - php | 
| cairo_available_fonts(3) - php | 
| resourcebundle_create(3) - php | 
| resourcebundle_get(3) - php | 
| resourcebundle_get_error_message(3) - php | 
| Similar Topics in the Unix Linux Community | 
|---|
| Help me with parsing this file | 
| Add a bundle to a lpp_source | 
| Install sequence in a bundle | 
| Create a bundle of user ids | 
| Delete duplicates in CA bundle |