|
Maybe this is interesting for you as well: When modifying CakePHP's default url dispatching behavior, I've been most successful when doing it in the app/config/routes.php. Because when this file get's loaded, there is a local variable called $from_url, containing the url currently beeing dispatched. Now if you change this url by assigning a different value to $from_url, you can essentially use this to route requests from one url (type) to another. river_jetties schrieb: i think that's what we're thinking. The issue is that since the URL is linear, you will have to do things like verify against a list of controllers that you're not interfering with their namespace. That would be the advantage at getting it at the level of the Dispatcher (I would think) since you don't have a controller by the name. Similar to a try ... catch statement.-jonathan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~--- |
- Re: handling different routing patterns / newbie quest... Felix Geisendörfer
