Wikibase
MediaWiki Wikibase extension
|
Generates HTML to display terms of an entity in a list. More...
Public Member Functions | |
__construct (TemplateFactory $templateFactory, LanguageNameLookup $languageNameLookup, LocalizedTextProvider $textProvider, LanguageDirectionalityLookup $languageDirectionalityLookup, LanguageFallbackChainFactory $languageFallbackChainFactory, bool $mulEnabled) | |
getHtml (TermList $labels, TermList $descriptions, ?AliasGroupList $aliasGroups, array $languageCodes) | |
getListViewHtml (string $contentHtml) | |
getListItemHtml (TermList $labels, TermList $descriptions, ?AliasGroupList $aliasGroups, string $languageCode) | |
Private Member Functions | |
getLabelView (TermList $listOfLabelTerms, string $languageCode) | |
getFallbackLabel (TermList $listOfLabelTerms, string $languageCode) | |
getDescriptionView (TermList $listOfDescriptionTerms, string $languageCode) | |
getMulDescriptionView () | |
getAliasesView (AliasGroupList $aliasGroups, string $languageCode) | |
Generates HTML to display terms of an entity in a list.
Wikibase\View\TermsListView::__construct | ( | TemplateFactory | $templateFactory, |
LanguageNameLookup | $languageNameLookup, | ||
LocalizedTextProvider | $textProvider, | ||
LanguageDirectionalityLookup | $languageDirectionalityLookup, | ||
LanguageFallbackChainFactory | $languageFallbackChainFactory, | ||
bool | $mulEnabled ) |
|
private |
|
private |
|
private |
Wikibase\View\TermsListView::getHtml | ( | TermList | $labels, |
TermList | $descriptions, | ||
?AliasGroupList | $aliasGroups, | ||
array | $languageCodes ) |
TermList | $labels | |
TermList | $descriptions | |
AliasGroupList | null | $aliasGroups | |
string[] | $languageCodes | The languages the user requested to be shown |
|
private |
Wikibase\View\TermsListView::getListItemHtml | ( | TermList | $labels, |
TermList | $descriptions, | ||
?AliasGroupList | $aliasGroups, | ||
string | $languageCode ) |
Wikibase\View\TermsListView::getListViewHtml | ( | string | $contentHtml | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |