Commit Graph

2 Commits

Author SHA1 Message Date
naddy
3f04f8f321 SIZE 2005-01-05 16:22:24 +00:00
sturm
0c8ae630b6 Initial import Data-Page 1.01
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.

from Sam Smith <S at msmith.net>
2004-05-20 10:52:00 +00:00