WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\Presentation\View\SensesView Class Reference

Public Member Functions

 __construct (LocalizedTextProvider $textProvider, LanguageDirectionalityLookup $languageDirectionalityLookup, LexemeTemplateFactory $templateFactory, StatementGroupListView $statementGroupListView, LexemeLanguageNameLookup $languageNameLookup)
 
 getHtml (SenseSet $senses)
 

Private Member Functions

 getSenseHtml (Sense $sense)
 
 getStatementSectionHtml (Sense $sense)
 

Private Attributes

 $textProvider
 
 $languageDirectionalityLookup
 
 $templateFactory
 
 $statementGroupListView
 
 $languageNameLookup
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\Presentation\View\SensesView::__construct ( LocalizedTextProvider $textProvider,
LanguageDirectionalityLookup $languageDirectionalityLookup,
LexemeTemplateFactory $templateFactory,
StatementGroupListView $statementGroupListView,
LexemeLanguageNameLookup $languageNameLookup )
Parameters
LocalizedTextProvider$textProvider
LanguageDirectionalityLookup$languageDirectionalityLookup
LexemeTemplateFactory$templateFactory
StatementGroupListView$statementGroupListView
LexemeLanguageNameLookup$languageNameLookup

Member Function Documentation

◆ getHtml()

Wikibase\Lexeme\Presentation\View\SensesView::getHtml ( SenseSet $senses)
Parameters
SenseSet$senses
Returns
string HTML

◆ getSenseHtml()

Wikibase\Lexeme\Presentation\View\SensesView::getSenseHtml ( Sense $sense)
private
Parameters
Sense$sense
Returns
string HTML

◆ getStatementSectionHtml()

Wikibase\Lexeme\Presentation\View\SensesView::getStatementSectionHtml ( Sense $sense)
private
Parameters
Sense$sense
Returns
string HTML

Member Data Documentation

◆ $languageDirectionalityLookup

Wikibase\Lexeme\Presentation\View\SensesView::$languageDirectionalityLookup
private

◆ $languageNameLookup

Wikibase\Lexeme\Presentation\View\SensesView::$languageNameLookup
private

◆ $statementGroupListView

Wikibase\Lexeme\Presentation\View\SensesView::$statementGroupListView
private

◆ $templateFactory

Wikibase\Lexeme\Presentation\View\SensesView::$templateFactory
private

◆ $textProvider

Wikibase\Lexeme\Presentation\View\SensesView::$textProvider
private

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