Wikibase
MediaWiki Wikibase extension
|
Base class for creating views for all different kinds of Wikibase\DataModel\Entity\EntityDocument. More...
Public Member Functions | |
__construct (TemplateFactory $templateFactory, LanguageDirectionalityLookup $languageDirectionalityLookup, $languageCode) | |
getTitleHtml (EntityDocument $entity) | |
Returns the html used for the title of the page. | |
Public Member Functions inherited from Wikibase\View\EntityDocumentView | |
getContent (EntityDocument $entity, $revision) | |
Builds and returns the HTML representing a whole WikibaseEntity. | |
Protected Member Functions | |
renderEntityView (EntityDocument $entity) | |
getMainHtml (EntityDocument $entity) | |
Builds and returns the HTML to be put into the main container of an entity's HTML structure. | |
getSideHtml (EntityDocument $entity) | |
Builds and Returns HTML to put into the sidebar of the entity's HTML structure. | |
Protected Attributes | |
$templateFactory | |
$languageCode | |
Private Attributes | |
$languageDirectionalityLookup | |
Base class for creating views for all different kinds of Wikibase\DataModel\Entity\EntityDocument.
If you want a simple interface instead see EntityDocumentView.
Wikibase\View\EntityView::__construct | ( | TemplateFactory | $templateFactory, |
LanguageDirectionalityLookup | $languageDirectionalityLookup, | ||
$languageCode ) |
TemplateFactory | $templateFactory | |
LanguageDirectionalityLookup | $languageDirectionalityLookup | |
string | $languageCode |
|
abstractprotected |
Builds and returns the HTML to be put into the main container of an entity's HTML structure.
EntityDocument | $entity |
Reimplemented in Wikibase\View\ItemView, and Wikibase\View\PropertyView.
|
abstractprotected |
Builds and Returns HTML to put into the sidebar of the entity's HTML structure.
EntityDocument | $entity |
Reimplemented in Wikibase\View\ItemView, and Wikibase\View\PropertyView.
|
abstract |
Returns the html used for the title of the page.
EntityDocument | $entity |
Implements Wikibase\View\EntityDocumentView.
Reimplemented in Wikibase\View\ItemView, and Wikibase\View\PropertyView.
|
protected |
|
protected |
|
private |
|
protected |