PAGER, option to view all?
| From: | Louie Miranda | Date: | Wed, 29 Sep 2004 01:15:08 +0000 |
| Subject: | PAGER, option to view all? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14673@lists.php.net to get a copy of this message | ||
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