WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages Class Reference
+ Inheritance diagram for Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages:
+ Collaboration diagram for Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages:

Public Member Functions

 __construct (array $additionalLanguageCodes, LanguageNameUtils $languageNameUtils=null)
 
 getLanguages ()
 
 hasLanguage ( $languageCode)
 

Private Attributes

 $contentLanguages
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages::__construct ( array $additionalLanguageCodes,
LanguageNameUtils $languageNameUtils = null )
Parameters
string[]$additionalLanguageCodesCodes beyond the Mediawiki's Language ones
LanguageNameUtils | null$languageNameUtils

Member Function Documentation

◆ getLanguages()

Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages::getLanguages ( )
Returns
string[] Array of language codes supported as content language

◆ hasLanguage()

Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages::hasLanguage ( $languageCode)
Parameters
string$languageCode
Returns
bool

Member Data Documentation

◆ $contentLanguages

Wikibase\Lexeme\MediaWiki\Content\LexemeTermLanguages::$contentLanguages
private

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