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