MediaWiki  master
MediaWiki\Skin\SkinComponentTableOfContents Class Reference
Inheritance diagram for MediaWiki\Skin\SkinComponentTableOfContents:
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.
More...
 

Detailed Description

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

Definition at line 27 of file SkinComponentTableOfContents.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 34 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 96 of file SkinComponentTableOfContents.php.


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