Re: Pager - return array rather than HTML..
| From: | Tomas V.V.Cox | Date: | Thu, 27 Jun 2002 16:45:26 +0000 |
| Subject: | Re: Pager - return array rather than HTML.. | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7396@lists.php.net to get a copy of this message | ||
El jue, 27-06-2002 a las 17:00, Peter Bowyer escribió:
> At 15:23 27/06/02 +0200, Tomas V.V.Cox wrote:
> >Take a look at the info returned by a simple call of:
> >
> >$data = DB_Pager::getData($from, $limit, $numrows, $maxpages = 4);
> >
> >Note that DB_Pager is "row" oriented instead of Richy's Pager which is
> >"page" oriented.
>
> Why do we have two pager classes? I asked this question yesterday but
> didn't get any response, and your above comment is the first I've seen that
> points to any difference between the way the classes work.
>
Sorry I not always get the enough time to write all the emails I would
like to write. The differences? I'd say all is different, the data
structure, the kind of data returned, Pager is oriented to arrays and
HTML while DB_Pager to database resulsets (Pierre, currently it doesn't
need it) independly of the display, Richy is from UK, I'm from Spain,
you know :-p
As Richard said, we already talked about a merger and couldn't agree in
any point, we are still friends n/m :-)
Tomas V.V.Cox
PS.- DB_Pager oudated doc at: http://vulcanonet.com/soft/pager