Yes, try Router::parse($url) http://api.cakephp.org/class/router#method-Routerparse
On Thu, Jul 16, 2009 at 11:24 PM, Isaac Raja<[email protected]> wrote: > Hi, > > Every functions in helpers like $html->link $html->url converts the > array url parameters in to an url (like array('controller' => > 'posts','action' => 'view'); gets converted in to /posts/view is there > any function in cakephp that does the reverse?. > > Example convert /posts/view/1/cat:animals/name:raja to something like > array('controller' => 'posts', 'action' => view,'pass' => 1, > params['named']['cat'] => 'animals'); > > > Thanks > Isaac > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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?hl=en -~----------~----~----~----~------~----~------~--~---
