MediaWiki  REL1_22
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 692 of file SearchEngine.php.


Constructor & Destructor Documentation

SqlSearchResultSet::__construct ( resultSet,
terms 
)

Reimplemented in PostgresSearchResultSet.

Definition at line 696 of file SearchEngine.php.


Member Function Documentation

Frees the result set, if applicable.

Reimplemented from SearchResultSet.

Definition at line 726 of file SearchEngine.php.

Fetches next search result, or false.

STUB

Returns:
SearchResult

Reimplemented from SearchResultSet.

Reimplemented in PostgresSearchResultSet.

Definition at line 713 of file SearchEngine.php.

References SearchResult\newFromRow().

Reimplemented from SearchResultSet.

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


Member Data Documentation

SqlSearchResultSet::$mResultSet [protected]

Definition at line 694 of file SearchEngine.php.


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