Hi Troy,

As you know the component doesn´t take care of setting or checking a
session varaible, and I haven´t looked into that at all.

Your code looks quite good to me, that said I think it would be better
placed in the component to make it tidier and then forgotten about :).
Only problem would be that the session key would need to be unique to
pagination in general, the controller name, action and update div (to
allow for the case of there being 2 paginated views on the same page).

why not use

unset($parameters['importParams']);
unset($parameters['Defaults']);

instead of the array_shifts? 

Cheers,

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to