MediaWiki REL1_34
|
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\Widget\Search\SearchResultWidget::render | ( | SearchResult | $result, |
$position | |||
) |
SearchResult | $result | The result to render |
int | $position | The zero indexed result position, including offset |
Implemented in MediaWiki\Widget\Search\FullSearchResultWidget, MediaWiki\Widget\Search\InterwikiSearchResultWidget, and MediaWiki\Widget\Search\SimpleSearchResultWidget.