|
MediaWiki master
|
Inherits MediaWiki\Skin\Components\SkinComponent.

Public Member Functions | |
| __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.
| |
Static Public Member Functions | |
| static | getFooterIconsData (Config $config) |
| Get data representation of icons. | |
| static | makeFooterIconHTML (Config $config, $icon, string $withImage='withImage') |
| Renders a $wgFooterIcons icon according to the method's arguments. | |
Definition at line 16 of file SkinComponentFooter.php.
| MediaWiki\Skin\Components\SkinComponentFooter::__construct | ( | SkinComponentRegistryContext | $skinContext | ) |
Definition at line 22 of file SkinComponentFooter.php.
|
static |
Get data representation of icons.
| Config | $config |
Definition at line 258 of file SkinComponentFooter.php.
References MediaWiki\Config\Config\get().
| MediaWiki\Skin\Components\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.
Implements MediaWiki\Skin\Components\SkinComponent.
Definition at line 53 of file SkinComponentFooter.php.
|
static |
Renders a $wgFooterIcons icon according to the method's arguments.
| 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. |
Definition at line 206 of file SkinComponentFooter.php.