$pagecount
$pagecount : integer
The total number of pages
A placeholder type that represents a set of download objects.
Created frm a filter object and an array... this is a countable and iterable list of download objects. It also supports pagination.
pageList(integer $surround = 5) : array<mixed,integer>
Get a list of pages matching this resultset, to be used in generating a pagination interface.
| integer | $surround | The number of entries to surround the current page with. |
An array of page numbers.
__construct(\CGBetterUploads\DownloadFilter $filter, integer $totalMatches, array $matches = null)
Constructor
| \CGBetterUploads\DownloadFilter | $filter | The filter used to load the matches |
| integer | $totalMatches | the total number of downloads that match the filter. |
| array | $matches | The matches loaded from the database. May be <= $totalmatches |