Structurs_Datagrid question regarding the paging links
| From: | Brent Clements | Date: | Sat, 15 Jan 2005 06:21:25 +0000 |
| Subject: | Structurs_Datagrid question regarding the paging links | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-16939@lists.php.net to get a copy of this message | ||
I was wondering,
How do I change the datagrid paging links to be something else other than file.php?page=#page
Ie what if I wanted to change the default paging links to
myfilename.php?action=module&pagenum=#page
rather than the default links that getPaging() generates which is
myfilename.php?page=#page
I've tried the following
$params = array(
'path' => 'http://www.myserver.com/app_manage/',
'fileName' =>
'index.php?module=usermanagement&action=listusers&pagenum=%d');
echo $dg->renderer->getPaging('Sliding', ' |','Prev',
'Next', '8', $params);
But the url that each page link creates is still
index.php?page=1 and so on and so on.
How do I do what I want to do?
Thanks,
Brent