Heh I was thinking the exact same thing - I wrote a code submission
for the bakery on this, but it's not been approved yet.

In the meantime I've pasted the Behavior code here : http://pastebin.sk/en/1596/

Just add the $actsAs = array('SimpleResults') to any model and it'll
work transparently.

(This is assuming you're using 1.2 - if not, you could incorporate the
code from the behavior into your AppModel and it would do the same
thing)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to