Re: Class::DBI::Plugin::Pager - list of all pages
[prev]
[thread]
[next]
[Date index for 2004/12/17]
--=-+Ok8LZROrN5EJBEDRr9V
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Plugin::Pager?!? Cool - I need to go look at this. I just finished a
utility function which takes a 2d array of data with some parameters and
returns an html table with the data sorted and paged. The table includes
buttons on the header to resort and jump pages.
It would be nice if I could have it work directly with a paged
Class::DBI dataset. Is David Baird on this list?
Sean
On Fri, 2004-12-17 at 04:30, Gabor Szabo wrote:
> I have just tried Class::DBI::Plugin::Pager and it works very nice
> on SQLite.=20
> The only thing I could not figure out yet is how to get back the
> total size of the result set and thus how to decide if I need to
> display a next pager, previous page and similar links.
>=20
> I guess I could issue a count() with the same WHERE caluse but
> the Pager alread does this.
> Is there a way to get this info from the Pager itself ?
>=20
> thanks
> Gabor
>=20
>=20
--=20
Sean Quinlan <seanq@xxxxxx.xx.xxx>
BMERC, Boston University
--=-+Ok8LZROrN5EJBEDRr9V
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBwwkAnv2yYfTgGZsRArx6AJ9tg8N5JkoF/imEE6IlMG8OBTBUXwCeK8uQ
07WPd2W1c7PlvcSUOKv9hEU=
=/WW4
-----END PGP SIGNATURE-----
--=-+Ok8LZROrN5EJBEDRr9V--
|
|
Re: Class::DBI::Plugin::Pager - list of all pages
Sean Quinlan 16:27 on 17 Dec 2004
|