Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SIL\Search\MappedSearchResultSet Class Reference
Collaboration diagram for SIL\Search\MappedSearchResultSet:
Collaboration graph
[legend]

Public Member Functions

 __construct ($searchMatches, $termMatches, $count=0)
 
 next ()
 
 numRows ()
 
 hasResults ()
 
 getTotalHits ()
 
 termMatches ()
 

Detailed Description

GNU GPL v2+

Since
1.0
Author
mwjames

Constructor & Destructor Documentation

SIL\Search\MappedSearchResultSet::__construct (   $searchMatches,
  $termMatches,
  $count = 0 
)
Since
1.0
Parameters
SearchResult[]$searchMatches
array$termMatches
integer$count

Member Function Documentation

SIL\Search\MappedSearchResultSet::getTotalHits ( )
Since
1.0
Returns
integer
SIL\Search\MappedSearchResultSet::hasResults ( )

Return true if results are included in this result set.

Since
1.0
Returns
bool
SIL\Search\MappedSearchResultSet::next ( )
Since
1.0
Returns
SearchResult|boolean
SIL\Search\MappedSearchResultSet::numRows ( )

Return number of rows included in this result set.

Since
1.0
Returns
int|void
SIL\Search\MappedSearchResultSet::termMatches ( )
Since
1.0
Returns
string[]

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