Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Request #2461 would be nice to be able to exclude given vars from url
Submitted: 2004-10-05 10:53 UTC
From: daniel at konczyk dot net Assigned: quipo
Status: Closed Package: Pager
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-05 10:53 UTC] daniel at konczyk dot net
Description: ------------ It would be nice to have an option, to exclude some vars from the generated pager links, like $exclude ; array of vars to exclude from the url then, they would be purged in _getLinksUrl() eg 644 foreach ($qs as $name => $value) { if (@in_array($name,$exclude)) 645 $querystring[] = $name . '=' . $value; 646 } etc. What do you think? I have to get rid of some vars. I can of course preg_replace the pager result, but it's not a nice solution... extending is now a bit more complicated than before.. Cheers

Comments

 [2005-04-01 13:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!