hello.

i'm having some troubles :(

i have an Order model hasMany Item model.

Item should have a calculated field (Item.Cost/Item.Weight)

- i modified $queryData in beforeFind callback... but this callback
doesn't seems to work if the model isn't the primary one.

- i modified $results in afterFind callback... but cake has many ways
to load data...

is there any other way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to