MediaWiki  master
MediaWiki\Skin\SkinComponent Interface Reference
Inheritance diagram for MediaWiki\Skin\SkinComponent:

Public Member Functions

 getTemplateData ()
 This returns all the data that is needed to the component. More...

Detailed Description

Access: internal
for use inside Skin and SkinTemplate classes only
Stability: unstable

Definition at line 25 of file SkinComponent.php.

Member Function Documentation

◆ getTemplateData()

MediaWiki\Skin\SkinComponent::getTemplateData ( )

This returns all the data that is needed to the component.

Returned array must be serialized. This will be passed directly to a template (usually Mustache) for rendering.

array Data related to component required to render.

Implemented in MediaWiki\Skin\SkinComponentTableOfContents, MediaWiki\Skin\SkinComponentSearch, MediaWiki\Skin\SkinComponentMenu, MediaWiki\Skin\SkinComponentLogo, MediaWiki\Skin\SkinComponentListItem, MediaWiki\Skin\SkinComponentLink, and MediaWiki\Skin\SkinComponentFooter.

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