MediaWiki master
MediaWiki\Skin\Components\SkinComponentTableOfContents Class Reference

Inherits MediaWiki\Skin\Components\SkinComponent.

Collaboration diagram for MediaWiki\Skin\Components\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 16 of file SkinComponentTableOfContents.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 20 of file SkinComponentTableOfContents.php.

Member Function Documentation

◆ getTemplateData()

MediaWiki\Skin\Components\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\Components\SkinComponent.

Definition at line 86 of file SkinComponentTableOfContents.php.

References return.


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