MediaWiki REL1_34
|
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\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, |
$position | |||
) |
SearchResult | $result | The result to render |
int | $position | The result position, including offset |
Implements MediaWiki\Widget\Search\SearchResultWidget.
Definition at line 32 of file SimpleSearchResultWidget.php.
References $title.
|
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().