Also, here is a fun idea, which can be used for alll models if or
individual models depending on your preference.
http://bin.cakephp.org/saved/700
Remember, all we are really doing here is converting arrays to objects,
so you can access them more easily. The next step is to use these
converted objects when saving. We could probably work together a
reverse map in beforeSave to see how well it works. In my tests, I have
not seen any slowdown in making these maps happen. I would be
interested in hearing about other results.

@anselm
Doing the hide stuff would be something you would want to implement
directly in your model or AppModel if all your models need it. The
fetch is already handled by findAll. It seems that you want to have
direct access to the model from your view. We are more inclined towards
sending just the Set data to the view rather than the whole model
object.


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