MediaWiki
1.23.0
|
A SearchResultSet wrapper for SearchEngine::getNearMatch. More...
Public Member Functions | |
__construct ( $match) | |
hasResult () | |
next () | |
Fetches next search result, or false. More... | |
numRows () | |
Public Member Functions inherited from SearchResultSet | |
free () | |
Frees the result set, if applicable. More... | |
getInterwikiResults () | |
Return a result set of hits on other (multiple) wikis associated with this one. More... | |
getSuggestionQuery () | |
getSuggestionSnippet () | |
getTotalHits () | |
Some search modes return a total hit count for the query in the entire article database. More... | |
hasInterwikiResults () | |
Check if there are results on other wikis. More... | |
hasResults () | |
Return true if results are included in this result set. More... | |
hasSuggestion () | |
Some search modes return a suggested alternate term if there are no exact hits. More... | |
searchContainedSyntax () | |
Did the search contain search syntax? If so, Special:Search won't offer the user a link to a create a page named by the search string because the name would contain the search syntax. More... | |
termMatches () | |
Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract. More... | |
Private Attributes | |
$fetched = false | |
A SearchResultSet wrapper for SearchEngine::getNearMatch.
Definition at line 186 of file SearchResultSet.php.
SearchNearMatchResultSet::__construct | ( | $match | ) |
$match | mixed Title if matched, else null |
Definition at line 192 of file SearchResultSet.php.
SearchNearMatchResultSet::hasResult | ( | ) |
Definition at line 196 of file SearchResultSet.php.
SearchNearMatchResultSet::next | ( | ) |
Fetches next search result, or false.
STUB
Reimplemented from SearchResultSet.
Definition at line 204 of file SearchResultSet.php.
References SearchResult\newFromTitle().
SearchNearMatchResultSet::numRows | ( | ) |
Reimplemented from SearchResultSet.
Definition at line 200 of file SearchResultSet.php.
References SearchResultSet\hasResults().
|
private |
Definition at line 187 of file SearchResultSet.php.