MediaWiki REL1_37
|
Renders a single search result to HTML. More...
Public Member Functions | |
render (SearchResult $result, $position) | |
Renders a single search result to HTML.
Definition at line 10 of file SearchResultWidget.php.
MediaWiki\Search\SearchWidgets\SearchResultWidget::render | ( | SearchResult | $result, |
$position | |||
) |
SearchResult | $result | The result to render |
int | $position | The zero indexed result position, including offset |
Implemented in MediaWiki\Search\SearchWidgets\FullSearchResultWidget, MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget, and MediaWiki\Search\SearchWidgets\SimpleSearchResultWidget.