MediaWiki  REL1_23
SqlSearchResultSet Class Reference

This class is used for different SQL-based search engines shipped with MediaWiki. More...

Inheritance diagram for SqlSearchResultSet:
Collaboration diagram for SqlSearchResultSet:

List of all members.

Public Member Functions

 __construct ($resultSet, $terms)
 free ()
 Frees the result set, if applicable.
 next ()
 Fetches next search result, or false.
 numRows ()
 termMatches ()
 Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract.

Protected Attributes

 $mResultSet

Detailed Description

This class is used for different SQL-based search engines shipped with MediaWiki.

Definition at line 140 of file SearchResultSet.php.


Constructor & Destructor Documentation

SqlSearchResultSet::__construct ( resultSet,
terms 
)

Reimplemented in PostgresSearchResultSet.

Definition at line 144 of file SearchResultSet.php.


Member Function Documentation

Frees the result set, if applicable.

Reimplemented from SearchResultSet.

Definition at line 174 of file SearchResultSet.php.

Fetches next search result, or false.

STUB

Returns:
SearchResult

Reimplemented from SearchResultSet.

Reimplemented in PostgresSearchResultSet.

Definition at line 161 of file SearchResultSet.php.

References SearchResult\newFromRow().

Reimplemented from SearchResultSet.

Definition at line 153 of file SearchResultSet.php.

Fetch an array of regular expression fragments for matching the search terms as parsed by this engine in a text extract.

STUB

Returns:
Array

Reimplemented from SearchResultSet.

Definition at line 149 of file SearchResultSet.php.


Member Data Documentation

SqlSearchResultSet::$mResultSet [protected]

Definition at line 142 of file SearchResultSet.php.


The documentation for this class was generated from the following file: