Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Api\MetaContentLanguages Class Reference
+ Inheritance diagram for Wikibase\Repo\Api\MetaContentLanguages:
+ Collaboration diagram for Wikibase\Repo\Api\MetaContentLanguages:

Public Member Functions

 __construct (ApiQuery $queryModule, string $moduleName, LanguageNameLookupFactory $languageNameLookupFactory, WikibaseContentLanguages $wikibaseContentLanguages)
 
 execute ()
 
 getCacheMode ( $params)
 

Protected Member Functions

 getAllowedParams ()
 
 getExamplesMessages ()
 

Private Member Functions

 getNameForContext (LanguageNameLookup $languageNameLookup, string $context, string $languageCode)
 

Private Attributes

LanguageNameLookupFactory $languageNameLookupFactory
 
WikibaseContentLanguages $wikibaseContentLanguages
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Api\MetaContentLanguages::__construct ( ApiQuery $queryModule,
string $moduleName,
LanguageNameLookupFactory $languageNameLookupFactory,
WikibaseContentLanguages $wikibaseContentLanguages )

Member Function Documentation

◆ execute()

Wikibase\Repo\Api\MetaContentLanguages::execute ( )

◆ getAllowedParams()

Wikibase\Repo\Api\MetaContentLanguages::getAllowedParams ( )
protected

◆ getCacheMode()

Wikibase\Repo\Api\MetaContentLanguages::getCacheMode ( $params)
See also
ApiQueryBase::getCacheMode
Parameters
array$params
Returns
string

◆ getExamplesMessages()

Wikibase\Repo\Api\MetaContentLanguages::getExamplesMessages ( )
protected

◆ getNameForContext()

Wikibase\Repo\Api\MetaContentLanguages::getNameForContext ( LanguageNameLookup $languageNameLookup,
string $context,
string $languageCode )
private

Member Data Documentation

◆ $languageNameLookupFactory

LanguageNameLookupFactory Wikibase\Repo\Api\MetaContentLanguages::$languageNameLookupFactory
private

◆ $wikibaseContentLanguages

WikibaseContentLanguages Wikibase\Repo\Api\MetaContentLanguages::$wikibaseContentLanguages
private

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