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