> The other thing you could do is accept the parameters explicitly, as
> in:
>
> function index($category = null, $page = null) {
> // ...
> }
>
> Makes handling the var switching a little easier IMO.
I would still need to split the url from the params though, as I need
the route for certain pages, but not for others, because I have say a
news_controller, reports_controller as well, which both have their own
routes
jb
--
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---