Hi all.

In my app i need  to pass an associative array of data to my model, kinda
like:

[Model] => array ([someKey] => 'some value',
                  ...
                  [someOtherKey] => array([subKey1] => 'sub key 1 value',
                                          [subKey2] => 'sub key 2 value',
                                          [subKey3] => 'sub key 4 value'))

I'm passing the data from the form in a flat format and then doing some
mangling to put it in the proper format. Does cake provide a nicer/cleaner
way of doing this? I was thinking something like
'Model/someOtherKey/subkey1' in the form field specification.

Thanks in advance.

Best regards.

-- 
Gonçalo Marrafa <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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