If you know the actual controller name you can use loadController()
which will return a boolean of whether the controller could be
loaded.  However, your example above is difficult because a
requestAction (and normal requests) go through your application routes
- which could have any kind of mapping from request url to
controller.  Perhaps you could look into how the Router works, and
find something that identifies the controller that would be used for a
particular request url?


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to