MediaWiki REL1_40
|
Inherits MediaWiki\Skin\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 14 of file SkinComponentFooter.php.
MediaWiki\Skin\SkinComponentFooter::__construct | ( | SkinComponentRegistryContext | $skinContext | ) |
SkinComponentRegistryContext | $skinContext |
Definition at line 21 of file SkinComponentFooter.php.
|
static |
Get data representation of icons.
Config | $config |
Definition at line 235 of file SkinComponentFooter.php.
References Config\get().
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.
Implements MediaWiki\Skin\SkinComponent.
Definition at line 54 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 203 of file SkinComponentFooter.php.