MediaWiki fundraising/REL1_35
CldrNames Class Reference

A base class for querying translated names from CLDR data. More...

Inheritance diagram for CldrNames:

Static Public Member Functions

static getFileName ( $code)
 Get the name for the file that contains the CLDR data for a given language.
 
static getOverrideFileName ( $code)
 Get the name for the file that contains the local override data for a given language.
 

Detailed Description

A base class for querying translated names from CLDR data.

Author
Niklas Laxström
Ryan Kaldari
Note
Copyright © 2007-2012
GPL-2.0-or-later

Definition at line 11 of file CldrNames.php.

Member Function Documentation

◆ getFileName()

static CldrNames::getFileName ( $code)
static

Get the name for the file that contains the CLDR data for a given language.

Parameters
string$codelanguage code
Returns
string

Definition at line 18 of file CldrNames.php.

Referenced by CountryNames\loadLanguage(), CurrencyNames\loadLanguage(), LanguageNames\loadLanguage(), and TimeUnits\loadLanguage().

◆ getOverrideFileName()

static CldrNames::getOverrideFileName ( $code)
static

Get the name for the file that contains the local override data for a given language.

Parameters
string$codelanguage code
Returns
string

Definition at line 27 of file CldrNames.php.

Referenced by CountryNames\loadLanguage(), CurrencyNames\loadLanguage(), LanguageNames\loadLanguage(), and TimeUnits\loadLanguage().


The documentation for this class was generated from the following file: