Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SIL\Search\MappedSearchResultSet Class Reference
Inheritance diagram for SIL\Search\MappedSearchResultSet:
Inheritance graph
[legend]
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

◆ __construct()

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

Member Function Documentation

◆ getTotalHits()

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

◆ hasResults()

SIL\Search\MappedSearchResultSet::hasResults ( )

Return true if results are included in this result set.

Since
1.0
Returns
bool

◆ next()

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

◆ numRows()

SIL\Search\MappedSearchResultSet::numRows ( )

Return number of rows included in this result set.

Since
1.0
Returns
int|void

◆ termMatches()

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

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

About | General disclaimer | Privacy policy