php man page for resourcebundle

Query: resourcebundle

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RESOURCEBUNDLE(3)							 1							 RESOURCEBUNDLE(3)

The ResourceBundle class

INTRODUCTION
Localized software products often require sets of data that are to be customized depending on current locale, e.g.: messages, labels, for- matting patterns. ICU resource mechanism allows to define sets of resources that the application can load on locale basis, while accessing them in unified locale-independent fashion. This class implements access to ICU resource data files. These files are binary data arrays which ICU uses to store the localized data. ICU resource bundle can hold simple resources and complex resources. Complex resources are containers which can be either integer-indexed or string-indexed (just like PHP arrays). Simple resources can be of the following types: string, integer, binary data field or integer array. ResourceBundle supports direct access to the data through array access pattern and iteration via foreach, as well as access via class meth- ods. The result will be PHP value for simple resources and ResourceBundle object for complex ones. All resources are read-only.
CLASS SYNOPSIS
ResourceBundle ResourceBundle Methods o public ResourceBundle::__construct (string $locale, string $bundlename, [bool $fallback]) o public int ResourceBundle::count (void ) o publicstatic ResourceBundle ResourceBundle::create (string $locale, string $bundlename, [bool $fallback]) o public int ResourceBundle::getErrorCode (void ) o public string ResourceBundle::getErrorMessage (void ) o public mixed ResourceBundle::get (string|int $index) o public array ResourceBundle::getLocales (string $bundlename)
SEE ALSO
o ICU Resource Management oICU Data PHP Documentation Group RESOURCEBUNDLE(3)
Related Man Pages
resourcebundle_locales(3) - php
intlrulebasedbreakiterator(3) - php
intltimezone(3) - php
resourcebundle_create(3) - php
resourcebundle_get_error_message(3) - php
Similar Topics in the Unix Linux Community
ICU Java
InfoCrawler 1.0B (Default branch)
How to load different type of data in a file to two arrays
glideinWMS 1_6 (Default branch)
ICU resource bundling on Linux: error faced while using Key more than 15 chars