you can use Router::parse($stringURL) to get array of parameters for
controller, action, named...
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/10/17 Dan <[email protected]>

> Hello,
>
> I'm trying to find a way to determine if a route prefix will be used for a
> given url. The url could be a string (like /myApp/admin/Posts/delete/3) or
> an array of options, like array('controller'=>'Posts', 'action'=>'delete, 3,
> 'admin'=>TRUE).
>
> I found that Router::url($the_given_url) will give me the url string. But
> should I be looking myself at that string or is there a Router method that
> would let me know if a prefix would be used IF that link was created.
>
> If I'm not totally clear, let me know. I realize it's rather complicated to
> explain it properly.
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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