How can i have a calculated attribut in a model.

My example : i hava a shopping_cart_product with 2 attributs :
quantity and Unit_price and i want a calculated_price witch is
quantity*Unit_price (without store it in database)

Can I try an "afterFind" function ?

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

Reply via email to