Re: Problem with Pager 2.1.0
| From: | Lorenzo Alberton | Date: | Tue, 13 Jan 2004 00:21:57 +0000 |
| Subject: | Re: Problem with Pager 2.1.0 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25026@lists.php.net to get a copy of this message | ||
On Mon, 12 Jan 2004 23:50:03 +0100, Lorenzo Alberton wrote:
>>>> How do I add URL-Variables to the Pager?
>>>> Of course it adds all $_GET-Variables, but I need to carry a
>>>> few variables that come in through a POST-call first time.
>>>
>>> what about setting them as $_GET variables before building the
>>> pager?
>>
>> No, this does not work, Pager_Common reads the get-variables
>> through the $_SERVER['QUERY_STRING'] on line 572 :( Any other
>> suggestions?
>>
>
> ahem... what about adding them to $_SERVER['QUERY_STRING'], then?
> :-D :-D
ok, enough with jokes... please test CVS version if it suits your needs.
There's a new 'extraVars' option that will do what you ask for.
Best regards,
Lorenzo