Hi All,

I have some fields that I need to present in the data views, which are 
calculated from the other fields in a model (goals against average, 
total points, etc).  I was thinking the best way to do this is to modify 
the results array from the model, calculating the fields before 
presentation, and deleting them before saving.  This way the data is 
handled most consistently.  The other way, I suppose, would be to 
calculate these in the model after the fetch, before the render.

Is one way better than the other?

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

Reply via email to