One time gwoo wrote some quick code that would make find return objects instead of arrays. I turned it into a behavior. Seemed to work pretty well at the time. It should still work (not sure though, because of all the recent changes to cake core). Give it a try.
http://bin.cakephp.org/saved/24245 In any case there are ways to get things to behave the way you want them with Objects being returned. Cake (for the most part) is flexible like that. On Jan 4, 12:11 pm, Deane <[EMAIL PROTECTED]> wrote: > Thanks for the reply. We couldn't disagree more strenuously, and we > think you're wrong beyond belief in your reasoning, but we appreciate > the response. > > Deane > > On Jan 4, 10:17 am, gwoo <[EMAIL PROTECTED]> wrote: > > > Speed, simplicity, clarity. We feel that a model object in the view > > will only result in misuse. We have helpers that allow you to handle > > the arrays any way you need, as well as various callbacks to allow you > > to format the data that comes back from the model. The benefits to > > having a model object available in the view seem small, while the > > potential problems and heft of moving those objects around seem much > > larger. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---