MediaWiki master
MediaWiki\Skin\SkinComponentCopyright Class Reference

Inherits MediaWiki\Skin\SkinComponent.

Collaboration diagram for MediaWiki\Skin\SkinComponentCopyright:

Public Member Functions

 __construct (SkinComponentRegistryContext $skinContext)
 
 getCopyrightHTML ()
 Get the copyright.
 
 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

Definition at line 14 of file SkinComponentCopyright.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Skin\SkinComponentCopyright::__construct ( SkinComponentRegistryContext $skinContext)

Member Function Documentation

◆ getCopyrightHTML()

MediaWiki\Skin\SkinComponentCopyright::getCopyrightHTML ( )

Get the copyright.

Returns
string

Definition at line 48 of file SkinComponentCopyright.php.

◆ getTemplateData()

MediaWiki\Skin\SkinComponentCopyright::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 37 of file SkinComponentCopyright.php.


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