|
| __construct (LanguageFallbackChainFactory $fallbackChainFactory, TermboxRenderer $renderer, LocalizedTextProvider $textProvider, SpecialPageLinker $specialPageLinker, TextInjector $textInjector) |
|
| getHtml ( $mainLanguageCode, TermList $labels, TermList $descriptions, AliasGroupList $aliasGroups=null, EntityId $entityId=null) |
|
| getTitleHtml (EntityId $entityId=null) |
|
| getPlaceholders (EntityDocument $entity, $revision, $languageCode) |
|
- Copyright
- GPL-2.0-or-later
◆ __construct()
◆ getHtml()
Wikibase\Repo\ParserOutput\TermboxView::getHtml |
( |
|
$mainLanguageCode, |
|
|
TermList |
$labels, |
|
|
TermList |
$descriptions, |
|
|
AliasGroupList |
$aliasGroups = null , |
|
|
EntityId |
$entityId = null |
|
) |
| |
- Parameters
-
string | $mainLanguageCode | Desired language of the label, description and aliases in the title and header section. Not necessarily identical to the interface language. |
TermList | $labels | |
TermList | $descriptions | |
AliasGroupList | null | $aliasGroups | |
EntityId | null | $entityId | the id of the entity |
- Returns
- string HTML
Implements Wikibase\View\EntityTermsView.
◆ getPlaceholders()
Wikibase\Repo\ParserOutput\TermboxView::getPlaceholders |
( |
EntityDocument |
$entity, |
|
|
|
$revision, |
|
|
|
$languageCode |
|
) |
| |
◆ getTitleHtml()
Wikibase\Repo\ParserOutput\TermboxView::getTitleHtml |
( |
EntityId |
$entityId = null | ) |
|
◆ renderTermbox()
Wikibase\Repo\ParserOutput\TermboxView::renderTermbox |
( |
EntityId |
$entityId, |
|
|
|
$revision, |
|
|
|
$mainLanguageCode |
|
) |
| |
|
private |
- Parameters
-
EntityId | $entityId | |
int | $revision | |
string | $mainLanguageCode | |
- Returns
- string|null
◆ $fallbackChainFactory
Wikibase\Repo\ParserOutput\TermboxView::$fallbackChainFactory |
|
private |
◆ $renderer
Wikibase\Repo\ParserOutput\TermboxView::$renderer |
|
private |
◆ $specialPageLinker
Wikibase\Repo\ParserOutput\TermboxView::$specialPageLinker |
|
private |
◆ $textInjector
Wikibase\Repo\ParserOutput\TermboxView::$textInjector |
|
private |
◆ $textProvider
Wikibase\Repo\ParserOutput\TermboxView::$textProvider |
|
private |
◆ CACHE_VERSION
const Wikibase\Repo\ParserOutput\TermboxView::CACHE_VERSION = 2 |
◆ TERMBOX_MARKUP
const Wikibase\Repo\ParserOutput\TermboxView::TERMBOX_MARKUP = 'termbox-markup' |
◆ TERMBOX_PLACEHOLDER
const Wikibase\Repo\ParserOutput\TermboxView::TERMBOX_PLACEHOLDER = 'wb-ui' |
◆ TERMBOX_VERSION
const Wikibase\Repo\ParserOutput\TermboxView::TERMBOX_VERSION = 2 |
The documentation for this class was generated from the following file: