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