Stud.IP
6.1
|
Public Member Functions | |
__construct (Query $query) | |
getResultPage () | |
hasMore () | |
getTotal () | |
Data Fields | |
const | FETCH_BUFFER_SIZE = 30 |
This class is responsible for fetching and representing the results of a search using a Query instance.
GPL2 or any later version
__construct | ( | Query | $query | ) |
getResultPage | ( | ) |
Returns the current result page. The Query object associated with this instance is used to determince the slice of the results to be used as a page.
getTotal | ( | ) |
If we already evaluated all possible matches, returns the total number of all actual matches that the user may see.
RuntimeException | if there could be more results |
hasMore | ( | ) |
Returns whether there COULD be more results.
const FETCH_BUFFER_SIZE = 30 |