Service for looking up language names based on MediaWiki's Language class.
More...
Service for looking up language names based on MediaWiki's Language class.
- Copyright
- GPL-2.0-or-later
◆ __construct()
Wikibase\Lib\LanguageNameLookup::__construct |
( |
|
$inLanguage = null | ) |
|
- Parameters
-
string | null | $inLanguage | Language code of the language in which to return the language names. Use null for autonyms (returns each language name in it's own language). |
◆ getName()
Wikibase\Lib\LanguageNameLookup::getName |
( |
|
$languageCode | ) |
|
◆ normalize()
Wikibase\Lib\LanguageNameLookup::normalize |
( |
|
$languageCode | ) |
|
|
private |
◆ $inLanguage
Wikibase\Lib\LanguageNameLookup::$inLanguage = null |
|
private |
The documentation for this class was generated from the following file: