MediaWiki REL1_37
|
Renders an enhanced interwiki result. More...
Public Member Functions | |
__construct (SpecialSearch $specialSearch, LinkRenderer $linkRenderer) | |
render (SearchResult $result, $position) | |
Protected Attributes | |
LinkRenderer | $linkRenderer |
SpecialSearch | $specialSearch |
Renders an enhanced interwiki result.
Definition at line 14 of file InterwikiSearchResultWidget.php.
MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget::__construct | ( | SpecialSearch | $specialSearch, |
LinkRenderer | $linkRenderer | ||
) |
Definition at line 20 of file InterwikiSearchResultWidget.php.
References MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget\$linkRenderer, and MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget\$specialSearch.
MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget::render | ( | SearchResult | $result, |
$position | |||
) |
SearchResult | $result | The result to render |
int | $position | The result position, including offset |
Implements MediaWiki\Search\SearchWidgets\SearchResultWidget.
Definition at line 30 of file InterwikiSearchResultWidget.php.
References $title.
|
protected |
Definition at line 18 of file InterwikiSearchResultWidget.php.
Referenced by MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget\__construct().
|
protected |
Definition at line 16 of file InterwikiSearchResultWidget.php.
Referenced by MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget\__construct().