|
MediaWiki master
|
Inherits MediaWiki\Skin\SkinComponent.

Public Member Functions | |
| __construct (string $key, array $item, MessageLocalizer $localizer, array $options=[], array $defaultLinkOptions=[]) | |
| 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 11 of file SkinComponentListItem.php.
| MediaWiki\Skin\SkinComponentListItem::__construct | ( | string | $key, |
| array | $item, | ||
| MessageLocalizer | $localizer, | ||
| array | $options = [], | ||
| array | $defaultLinkOptions = [] ) |
| string | $key | |
| array | $item | |
| MessageLocalizer | $localizer | |
| array | $options | |
| array | $defaultLinkOptions |
Definition at line 30 of file SkinComponentListItem.php.
| MediaWiki\Skin\SkinComponentListItem::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 206 of file SkinComponentListItem.php.