Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\MediaWikiContentLanguages Class Reference

Provide languages supported as content languages based on MediaWiki's Language class. More...

+ Inheritance diagram for Wikibase\Lib\MediaWikiContentLanguages:
+ Collaboration diagram for Wikibase\Lib\MediaWikiContentLanguages:

Public Member Functions

 getLanguages ()
 
 hasLanguage ( $languageCode)
 

Private Member Functions

 getLanguageMap ()
 

Private Attributes

 $languageMap = null
 

Detailed Description

Provide languages supported as content languages based on MediaWiki's Language class.

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 >

Member Function Documentation

◆ getLanguageMap()

Wikibase\Lib\MediaWikiContentLanguages::getLanguageMap ( )
private
Returns
string[] Array of language codes => language names.

◆ getLanguages()

Wikibase\Lib\MediaWikiContentLanguages::getLanguages ( )
Returns
string[] Array of language codes supported as content language

Implements Wikibase\Lib\ContentLanguages.

◆ hasLanguage()

Wikibase\Lib\MediaWikiContentLanguages::hasLanguage (   $languageCode)
Parameters
string$languageCode
Returns
bool

Implements Wikibase\Lib\ContentLanguages.

Member Data Documentation

◆ $languageMap

Wikibase\Lib\MediaWikiContentLanguages::$languageMap = null
private

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