MySQLSearchResultSet Class Reference
[Search]

Inherits SqlSearchResultSet.

List of all members.

Public Member Functions

 MySQLSearchResultSet ($resultSet, $terms, $totalHits=null)
 getTotalHits ()
 Some search modes return a total hit count for the query in the entire article database.


Detailed Description

Definition at line 403 of file SearchMySQL.php.


Member Function Documentation

MySQLSearchResultSet::getTotalHits (  ) 

Some search modes return a total hit count for the query in the entire article database.

This may include pages in namespaces that would not be matched on the given settings.

Return null if no total hits number is supported.

Returns:
Integer

Reimplemented from SearchResultSet.

Definition at line 409 of file SearchMySQL.php.

MySQLSearchResultSet::MySQLSearchResultSet ( resultSet,
terms,
totalHits = null 
)

Definition at line 404 of file SearchMySQL.php.

References SqlSearchResultSet::__construct().


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

Generated on Sat Apr 30 22:57:44 2011 for MediaWiki by  doxygen 1.5.9