|
| __construct (SkinComponentRegistryContext $skinContext) |
|
| 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...
|
|
Definition at line 14 of file SkinComponentFooter.php.
◆ __construct()
◆ getFooterIconsData()
static MediaWiki\Skin\SkinComponentFooter::getFooterIconsData |
( |
Config |
$config | ) |
|
|
static |
◆ getTemplateData()
MediaWiki\Skin\SkinComponentFooter::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 54 of file SkinComponentFooter.php.
◆ makeFooterIconHTML()
static MediaWiki\Skin\SkinComponentFooter::makeFooterIconHTML |
( |
Config |
$config, |
|
|
|
$icon, |
|
|
string |
$withImage = 'withImage' |
|
) |
| |
|
static |
Renders a $wgFooterIcons icon according to the method's arguments.
- Parameters
-
Config | $config | |
array | string | $icon | The icon to build the html for, see $wgFooterIcons for the format of this array. |
string | $withImage | Whether to use the icon's image or output a text-only footer icon. |
- Returns
- string HTML
- Access: internal
- for use in Skin only
Definition at line 203 of file SkinComponentFooter.php.
The documentation for this class was generated from the following file: