MediaWiki  master
SearchResultWidget.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use SearchResult;
6 
10 interface SearchResultWidget {
16  public function render( SearchResult $result, $position );
17 }
MediaWiki\Search\SearchWidgets\SearchResultWidget\render
render(SearchResult $result, $position)
SearchResult
NOTE: this class is being refactored into an abstract base class.
Definition: SearchResult.php:38
MediaWiki\Search\SearchWidgets\SearchResultWidget
Renders a single search result to HTML.
Definition: SearchResultWidget.php:10
MediaWiki\Search\SearchWidgets
Definition: BasicSearchResultSetWidget.php:3