$pagecount
$pagecount : integer
The total number of pages
This is a placeholder type that defines a set of uploads.
Created from a filter object, and an array... this is an iterable list of objects. and 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\UploadFilter $filter, integer $totalMatches, array $matches = null)
Construct an UploadSet
| \CGBetterUploads\UploadFilter | $filter | The filter used to create the array of matches. For use in pagination. |
| integer | $totalMatches | the total number of uploads that match the filter. |
| array | $matches | The matches loaded from the database. May be <= $totalMatches |