MediaWiki REL1_31
|
Renders a simple one-line result. More...
Public Member Functions | |
__construct (SpecialSearch $specialSearch, LinkRenderer $linkRenderer) | |
render (SearchResult $result, $terms, $position) | |
Protected Attributes | |
LinkRenderer | $linkRenderer |
SpecialSearch | $specialSearch |
Renders a simple one-line result.
Definition at line 15 of file SimpleSearchResultWidget.php.
MediaWiki\Widget\Search\SimpleSearchResultWidget::__construct | ( | SpecialSearch | $specialSearch, |
LinkRenderer | $linkRenderer ) |
Definition at line 21 of file SimpleSearchResultWidget.php.
References MediaWiki\Widget\Search\SimpleSearchResultWidget\$linkRenderer, MediaWiki\Widget\Search\SimpleSearchResultWidget\$specialSearch, and wfDeprecated().
MediaWiki\Widget\Search\SimpleSearchResultWidget::render | ( | SearchResult | $result, |
$terms, | |||
$position ) |
SearchResult | $result | The result to render |
string | $terms | Terms to be highlighted ( |
int | $position | The result position, including offset |
Implements MediaWiki\Widget\Search\SearchResultWidget.
Definition at line 33 of file SimpleSearchResultWidget.php.
References $link.
|
protected |
Definition at line 19 of file SimpleSearchResultWidget.php.
Referenced by MediaWiki\Widget\Search\SimpleSearchResultWidget\__construct().
|
protected |
Definition at line 17 of file SimpleSearchResultWidget.php.
Referenced by MediaWiki\Widget\Search\SimpleSearchResultWidget\__construct().