Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Formatters\MonolingualHtmlFormatter Class Reference
+ Inheritance diagram for Wikibase\Lib\Formatters\MonolingualHtmlFormatter:
+ Collaboration diagram for Wikibase\Lib\Formatters\MonolingualHtmlFormatter:

Public Member Functions

 __construct (LanguageNameLookup $languageNameLookup)
 
 format ( $value)
 

Private Attributes

 $languageNameLookup
 

Detailed Description

Author
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Formatters\MonolingualHtmlFormatter::__construct ( LanguageNameLookup  $languageNameLookup)

Member Function Documentation

◆ format()

Wikibase\Lib\Formatters\MonolingualHtmlFormatter::format (   $value)
See also
ValueFormatter::format
Parameters
MonolingualTextValue$value
Exceptions
InvalidArgumentException
Returns
string HTML

Member Data Documentation

◆ $languageNameLookup

Wikibase\Lib\Formatters\MonolingualHtmlFormatter::$languageNameLookup
private

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