well, i have some problems with $this->RequestHandler->isXml(). It
return true for not REST request.
I am using now:
(strtolower($this->RequestHandler->prefers()) == 'xml')

Regards

On 6 ago, 05:02, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Try this
> if ($this->RequestHandler->isXml() && is_object($this->data)) {
>         $this->data = Set::reverse($this->data);
>
> }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to