Hi,
I think find-method returns different data-arrays for recursive date.
However I want to use the userdata in the same index-element in
different actions. So there will be an error with the var-names.
MyModel:
Entry hasMany Users
Users belongsTo Group
Entry->find('first') returns an array like
'Entry' => ...
'User' => '0' => 'userid'
=> 'username'
=> 'Group' => 'groupid'
=> 'groupname'
'1' => ...
User->find('all') returns an array like
'0' =>
'User' => 'userid'
=> 'username'
'Group' => 'groupid'
=> 'groupname'
'1' => ...
How can I best get these both types compatible?
Thanks
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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