MediaWiki master
|
Inherits MediaWiki\Skin\SkinComponent.
Public Member Functions | |
__construct (string $name, array $items, MessageLocalizer $localizer, string $content='', array $linkOptions=[], string $htmlAfterContent='', string $htmlBeforeContent='') | |
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 15 of file SkinComponentMenu.php.
MediaWiki\Skin\SkinComponentMenu::__construct | ( | string | $name, |
array | $items, | ||
MessageLocalizer | $localizer, | ||
string | $content = '', | ||
array | $linkOptions = [], | ||
string | $htmlAfterContent = '', | ||
string | $htmlBeforeContent = '' ) |
string | $name | |
array | $items | |
MessageLocalizer | $localizer | |
string | $content | |
array | $linkOptions | |
string | $htmlAfterContent | |
string | $htmlBeforeContent |
Definition at line 47 of file SkinComponentMenu.php.
MediaWiki\Skin\SkinComponentMenu::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 95 of file SkinComponentMenu.php.