Help when paging through sets of results
When searching through large amounts of data, it is often the case that a
result set is returned that is larger than we want to display on one page.
This results in wanting to page through various pages of data. The maths
behind this is unfortunately fiddly, hence this module.
The main concept is that you pass in the number of total entries, the number
of entries per page, and the current page number. You can then call methods
to find out how many pages of information there are, and what number the
first and last entries on the current page really are.
Authors:
--------
James Laver
- Sources inherited from project openSUSE:12.2
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:12.2:ARM/perl-Data-Page && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Data-Page-2.02.tar.gz | 0000008189 8 KB | |
perl-Data-Page.changes | 0000000808 808 Bytes | |
perl-Data-Page.spec | 0000002435 2.38 KB |
Latest Revision
Adrian Schröter (adrianSuSE)
committed
(revision 1)
branched from openSUSE:Factory
Comments 0