Provide languages supported as content languages based on MediaWiki's LanguageNameUtils.
More...
Provide languages supported as content languages based on MediaWiki's LanguageNameUtils.
- Copyright
- GPL-2.0-or-later
- Author
- Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de
-
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
Wikibase\Lib\MediaWikiContentLanguages::__construct |
( |
?LanguageNameUtils | $languageNameUtils = null, |
|
|
string | $languageNameUtilsInclude = LanguageNameUtils::DEFINED ) |
- Parameters
-
null | LanguageNameUtils | $languageNameUtils | |
string | $languageNameUtilsInclude | Either LanguageNameUtils::DEFINED, LanguageNameUtils::ALL, or LanguageNameUtils::SUPPORTED. |
◆ getLanguageMap()
Wikibase\Lib\MediaWikiContentLanguages::getLanguageMap |
( |
| ) |
|
|
private |
- Returns
- string[] Array of language codes => language names.
◆ getLanguages()
Wikibase\Lib\MediaWikiContentLanguages::getLanguages |
( |
| ) |
|
◆ hasLanguage()
Wikibase\Lib\MediaWikiContentLanguages::hasLanguage |
( |
| $languageCode | ) |
|
◆ $languageMap
Wikibase\Lib\MediaWikiContentLanguages::$languageMap = null |
|
private |
◆ $languageNameUtils
Wikibase\Lib\MediaWikiContentLanguages::$languageNameUtils |
|
private |
◆ $languageNameUtilsInclude
string Wikibase\Lib\MediaWikiContentLanguages::$languageNameUtilsInclude |
|
private |
The documentation for this class was generated from the following file: