MediaWiki  REL1_19
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 620 of file SearchEngine.php.


Constructor & Destructor Documentation

SqlSearchResultSet::__construct ( resultSet,
terms 
)

Reimplemented in PostgresSearchResultSet.

Definition at line 624 of file SearchEngine.php.


Member Function Documentation

Frees the result set, if applicable.

Reimplemented from SearchResultSet.

Definition at line 651 of file SearchEngine.php.

Fetches next search result, or false.

STUB

Returns:
SearchResult

Reimplemented from SearchResultSet.

Reimplemented in PostgresSearchResultSet.

Definition at line 640 of file SearchEngine.php.

References SearchResult\newFromRow().

Here is the call graph for this function:

Reimplemented from SearchResultSet.

Definition at line 633 of file SearchEngine.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 629 of file SearchEngine.php.


Member Data Documentation

SqlSearchResultSet::$mResultSet [protected]

Definition at line 622 of file SearchEngine.php.


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