MediaWiki REL1_40
|
Inherits RevisionSearchResult.
Public Member Functions | |
__construct (Title $title, array $terms) | |
getTermMatches () | |
getTextSnippet ( $terms=[]) | |
Public Member Functions inherited from RevisionSearchResult | |
__construct ( $title) | |
Public Member Functions inherited from SearchResult | |
__construct () | |
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. | |
Definition at line 28 of file SqlSearchResult.php.
SqlSearchResult::__construct | ( | Title | $title, |
array | $terms ) |
Title | $title | |
string[] | $terms | list of parsed terms |
Definition at line 36 of file SqlSearchResult.php.
References $title.
SqlSearchResult::getTermMatches | ( | ) |
Definition at line 44 of file SqlSearchResult.php.
SqlSearchResult::getTextSnippet | ( | $terms = [] | ) |
array | $terms | Terms to highlight (this parameter is deprecated) |
Definition at line 52 of file SqlSearchResult.php.
References initText().