Is the map thing implemented anything like what I submitted befote? Just to see if I was on the right track or something...
By the way, sounds pretty cool... So should us be expecting a lot of this handy utilities like Set, Sanitize, etc. etc. etc. ? Sounds freaking awesome. -MI --------------------------------------------------------------------------- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -----Mensaje original----- De: [email protected] [mailto:[EMAIL PROTECTED] En nombre de nate Enviado el: Viernes, 15 de Diciembre de 2006 11:11 a.m. Para: Cake PHP Asunto: Re: How to make findAll() return object? Cake 1.2 has not been officially released yet, but it has a core class called Set, which allows you to map query results onto an object. The syntax for that is: $this->set('posts', Set::map($this->Post->findAll())); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
