MediaWiki master
|
Renders a single search result to HTML. More...
Inherited by MediaWiki\Search\SearchWidgets\FullSearchResultWidget, and MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget.
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, and MediaWiki\Search\SearchWidgets\InterwikiSearchResultWidget.