MediaWiki REL1_39
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.
 

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.

Returns
array Data related to component required to render.

Implemented in MediaWiki\Skin\SkinComponentLogo, MediaWiki\Skin\SkinComponentSearch, and MediaWiki\Skin\SkinComponentTableOfContents.


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