MediaWiki  master
MediaWiki\Search\SearchWidgets\SearchResultSetWidget Interface Reference

Renders a set of search results to HTML. More...

Inheritance diagram for MediaWiki\Search\SearchWidgets\SearchResultSetWidget:

Public Member Functions

 render ( $term, $resultSets)
 

Detailed Description

Renders a set of search results to HTML.

Definition at line 10 of file SearchResultSetWidget.php.

Member Function Documentation

◆ render()

MediaWiki\Search\SearchWidgets\SearchResultSetWidget::render (   $term,
  $resultSets 
)
Parameters
string$termUser provided search term
ISearchResultSet | ISearchResultSet[]$resultSetsList of interwiki results to render.
Returns
string HTML

Implemented in MediaWiki\Search\SearchWidgets\InterwikiSearchResultSetWidget, and MediaWiki\Search\SearchWidgets\SimpleSearchResultSetWidget.


The documentation for this interface was generated from the following file: