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 24 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 43 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 220 of file SkinComponentListItem.php.