php man page for resourcebundle_locales

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 style

SYNOPSIS
public array ResourceBundle::getLocales (string $bundlename)
DESCRIPTION
Procedural style array resourcebundle_locales (string $bundlename) Get available locales from ResourceBundle name.
PARAMETERS
o $bundlename - Path of ResourceBundle for which to get available locales, or empty string for default locales list.
RETURN VALUES
Returns the list of locales supported by the bundle.
EXAMPLES
Example #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 root
SEE ALSO
resourcebundle_get(3). PHP Documentation Group RESOURCEBUNDLE_LOCALES(3)
Related Man Pages
datetime.settimestamp(3) - php
datetime.format(3) - php
resourcebundle_create(3) - php
resourcebundle_get_error_message(3) - php
datetimeimmutable.format(3) - php
Similar Topics in the Unix Linux Community
Help me with parsing this file
ICU resource bundling on Linux: error faced while using Key more than 15 chars
Add a bundle to a lpp_source
Install sequence in a bundle
Delete duplicates in CA bundle