MediaWiki REL1_40
|
Inherits MediaWiki\Skin\SkinComponent.
Public Member Functions | |
__construct (string $key, array $item, MessageLocalizer $localizer, array $options=[]) | |
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.
| |
Definition at line 30 of file SkinComponentLink.php.
MediaWiki\Skin\SkinComponentLink::__construct | ( | string | $key, |
array | $item, | ||
MessageLocalizer | $localizer, | ||
array | $options = [] ) |
string | $key | |
array | $item | |
MessageLocalizer | $localizer | |
array | $options |
Definition at line 46 of file SkinComponentLink.php.
MediaWiki\Skin\SkinComponentLink::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 265 of file SkinComponentLink.php.