|
| __construct (LocalizedTextProvider $textProvider, LexemeTemplateFactory $templateFactory, EntityIdFormatter $entityIdFormatter, StatementGroupListView $statementGroupListView, ItemOrderProvider $grammaticalFeaturesOrderProvider) |
|
| getHtml (FormSet $forms) |
|
- Copyright
- GPL-2.0-or-later
- Author
- Thiemo Kreuz
◆ __construct()
Wikibase\Lexeme\Presentation\View\FormsView::__construct |
( |
LocalizedTextProvider | $textProvider, |
|
|
LexemeTemplateFactory | $templateFactory, |
|
|
EntityIdFormatter | $entityIdFormatter, |
|
|
StatementGroupListView | $statementGroupListView, |
|
|
ItemOrderProvider | $grammaticalFeaturesOrderProvider ) |
◆ getFormHtml()
Wikibase\Lexeme\Presentation\View\FormsView::getFormHtml |
( |
Form | $form | ) |
|
|
private |
- Parameters
-
- Returns
- string HTML
◆ getGrammaticalFeatureHtml()
Wikibase\Lexeme\Presentation\View\FormsView::getGrammaticalFeatureHtml |
( |
ItemId | $id | ) |
|
|
private |
- Parameters
-
- Returns
- string HTML
◆ getHtml()
Wikibase\Lexeme\Presentation\View\FormsView::getHtml |
( |
FormSet | $forms | ) |
|
- Parameters
-
- Returns
- string HTML
◆ getSortedGrammaticalFeatures()
Wikibase\Lexeme\Presentation\View\FormsView::getSortedGrammaticalFeatures |
( |
Form | $form | ) |
|
|
private |
Return a list of grammatical features by a specific order, decided by the list maintained in the wikipage MediaWiki:WikibaseLexeme-SortedGrammaticalFeatures.
- Parameters
-
- Returns
- ItemId[]
◆ getStatementSectionHtml()
Wikibase\Lexeme\Presentation\View\FormsView::getStatementSectionHtml |
( |
Form | $form | ) |
|
|
private |
- Parameters
-
- Returns
- string HTML
◆ renderRepresentationWidget()
Wikibase\Lexeme\Presentation\View\FormsView::renderRepresentationWidget |
( |
Form | $form | ) |
|
|
private |
◆ $entityIdFormatter
Wikibase\Lexeme\Presentation\View\FormsView::$entityIdFormatter |
|
private |
◆ $grammaticalFeaturesOrderProvider
Wikibase\Lexeme\Presentation\View\FormsView::$grammaticalFeaturesOrderProvider |
|
private |
◆ $statementGroupListView
Wikibase\Lexeme\Presentation\View\FormsView::$statementGroupListView |
|
private |
◆ $templateFactory
Wikibase\Lexeme\Presentation\View\FormsView::$templateFactory |
|
private |
◆ $textProvider
Wikibase\Lexeme\Presentation\View\FormsView::$textProvider |
|
private |
The documentation for this class was generated from the following file: