MediaWiki
1.34.0
|
Public Member Functions | |
__construct (Title $title, array $terms) | |
SqlSearchResult constructor. More... | |
getTermMatches () | |
return string[] More... | |
getTextSnippet ( $terms=[]) | |
Public Member Functions inherited from RevisionSearchResult | |
__construct ( $title) | |
Public Member Functions inherited from SearchResult | |
__construct () | |
Private Attributes | |
string[] | $terms |
Additional Inherited Members | |
Static Public Member Functions inherited from SearchResult | |
static | newFromTitle ( $title, ISearchResultSet $parentSet=null) |
Return a new SearchResult and initializes it with a title. More... | |
Definition at line 25 of file SqlSearchResult.php.
SqlSearchResult::__construct | ( | Title | $title, |
array | $terms | ||
) |
SqlSearchResult constructor.
Title | $title | |
string[] | $terms | list of parsed terms |
Definition at line 34 of file SqlSearchResult.php.
SqlSearchResult::getTermMatches | ( | ) |
SqlSearchResult::getTextSnippet | ( | $terms = [] | ) |
array | $terms | Terms to highlight (this parameter is deprecated) |
Definition at line 50 of file SqlSearchResult.php.
References $wgAdvancedSearchHighlighting, and initText().
|
private |
Definition at line 27 of file SqlSearchResult.php.
Referenced by __construct(), and getTermMatches().