%PDF- %PDF-
Direktori : /proc/985914/root/www/varak.net/wiki.varak.net/includes/widget/search/ |
Current File : //proc/985914/root/www/varak.net/wiki.varak.net/includes/widget/search/SearchResultWidget.php |
<?php namespace MediaWiki\Widget\Search; use SearchResult; /** * Renders a single search result to HTML */ interface SearchResultWidget { /** * @param SearchResult $result The result to render * @param string $terms Terms to be highlighted (@see SearchResult::getTextSnippet) * @param int $position The zero indexed result position, including offset * @return string HTML */ public function render( SearchResult $result, $terms, $position ); }