|
MediaWiki master
|
Inherits MediaWiki\Skin\Components\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 17 of file SkinComponentLink.php.
| MediaWiki\Skin\Components\SkinComponentLink::__construct | ( | string | $key, |
| array | $item, | ||
| MessageLocalizer | $localizer, | ||
| array | $options = [] ) |
| string | $key | |
| array | $item | |
| MessageLocalizer | $localizer | |
| array | $options |
Definition at line 33 of file SkinComponentLink.php.
| MediaWiki\Skin\Components\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\Components\SkinComponent.
Definition at line 246 of file SkinComponentLink.php.