Inherits RevisionSearchResult.
Definition at line 28 of file SqlSearchResult.php.
◆ __construct()
SqlSearchResult::__construct |
( |
Title | $title, |
|
|
array | $terms ) |
- Parameters
-
Title | $title | |
string[] | $terms | list of parsed terms |
Definition at line 36 of file SqlSearchResult.php.
◆ getTermMatches()
SqlSearchResult::getTermMatches |
( |
| ) |
|
◆ getTextSnippet()
SqlSearchResult::getTextSnippet |
( |
| $terms = [] | ) |
|
- Parameters
-
array | $terms | Terms to highlight (this parameter is deprecated) |
- Returns
- string Highlighted text snippet, null (and not '') if not supported
Definition at line 52 of file SqlSearchResult.php.
References initText().
The documentation for this class was generated from the following file: