[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-general
Subject: [PEAR] PAGER, option to view all?
From: Louie Miranda <lmiranda () gmail ! com>
Date: 2004-09-29 1:15:08
Message-ID: 5016fc5040928181513d1b81c () mail ! gmail ! com
[Download RAW message or body]
this is my parameter for the PEAR Pager
### code ###
$catch = $db->getAll($sql);
//parameters for Pager
$params = Array(
'itemData' => $catch,
'perPage' => 20,
'delta' => 5, // for 'Jumping'-style a lower
number is better
'mode' => 'Sliding',
);
$pager = &new Pager($params);
$pageData = $pager->getPageData();
$pagerLinks = $pager->getLinks();
$pagerCount = $pager->numItems();
$pagerPages = $pager->numPages();
### code ###
And for viewing using sliding mode.. ".$pagerLinks['all'].".
Would it be possible to have an option to view ALL?? also, attached
are the sliding mode? how can i have an option to view all? does pager
have this function? or i have to create a different one?
I made the decision to ask first, hoping PEAR::Pager have this option.
If not, i might create my own.
--
Louie Miranda
http://www.axishift.com
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic