Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\View\StatementSectionsView Class Reference

Public Member Functions

 __construct (TemplateFactory $templateFactory, StatementGrouper $statementGrouper, StatementGroupListView $statementListView, LocalizedTextProvider $textProvider)
 
 getHtml (StatementList $statementList)
 

Private Member Functions

 getHtmlForSectionHeading ( $key)
 

Private Attributes

 $templateFactory
 
 $statementGrouper
 
 $statementListView
 
 $textProvider
 

Detailed Description

Author
Thiemo Kreuz
Adrian Heine adria.nosp@m.n.he.nosp@m.ine@w.nosp@m.ikim.nosp@m.edia..nosp@m.de

Constructor & Destructor Documentation

◆ __construct()

Wikibase\View\StatementSectionsView::__construct ( TemplateFactory $templateFactory,
StatementGrouper $statementGrouper,
StatementGroupListView $statementListView,
LocalizedTextProvider $textProvider )

Member Function Documentation

◆ getHtml()

Wikibase\View\StatementSectionsView::getHtml ( StatementList $statementList)
Parameters
StatementList$statementList
Exceptions
InvalidArgumentException
Returns
string HTML

◆ getHtmlForSectionHeading()

Wikibase\View\StatementSectionsView::getHtmlForSectionHeading ( $key)
private
Parameters
string$key
Returns
string HTML

Message keys: wikibase-statementsection-statements wikibase-statementsection-identifiers

Member Data Documentation

◆ $statementGrouper

Wikibase\View\StatementSectionsView::$statementGrouper
private

◆ $statementListView

Wikibase\View\StatementSectionsView::$statementListView
private

◆ $templateFactory

Wikibase\View\StatementSectionsView::$templateFactory
private

◆ $textProvider

Wikibase\View\StatementSectionsView::$textProvider
private

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