MediaWiki master
MediaWiki\Skin\SkinComponentTableOfContents Class Reference

Inherits MediaWiki\Skin\SkinComponent.

Collaboration diagram for MediaWiki\Skin\SkinComponentTableOfContents:

Public Member Functions

 __construct (OutputPage $output)
 
 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.

 

Detailed Description

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

Definition at line 28 of file SkinComponentTableOfContents.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Skin\SkinComponentTableOfContents::__construct ( OutputPage $output)

Definition at line 32 of file SkinComponentTableOfContents.php.

Member Function Documentation

◆ getTemplateData()

MediaWiki\Skin\SkinComponentTableOfContents::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.

Implements MediaWiki\Skin\SkinComponent.

Definition at line 98 of file SkinComponentTableOfContents.php.


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