MediaWiki REL1_32
MediaWiki\Widget\Search\SearchResultSetWidget Interface Reference

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

Inheritance diagram for MediaWiki\Widget\Search\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\Widget\Search\SearchResultSetWidget::render (   $term,
  $resultSets 
)
Parameters
string$termUser provided search term
SearchResultSet | SearchResultSet[]$resultSetsList of interwiki results to render.
Returns
string HTML

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


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