Dear Cakephp gurus,

I am creating some web services using cakephp with XML. When user visit a 
URL, cakephp is smart enough to detect the URL extension and direct to the 
correct view folder. For example, if URL ends with .xml, view is directed 
to the xml folder. My problem comes with the controller. If there any way 
for controller to know whether URL ends with .xml? Currently, I have to 
create new actions for add, edit, delete and view just to handle .xml URLs.

THank you.

-- 
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to