GreyCells wrote:
> Why not just build the path when selecting the record? (afterFind()
> will do). You do not have to duplicate the record's id in the path
> column.

I thought about an additional field, 'cause if I build the path in the
afterFind(), I would have to cycle the recordset in order to add the path
and then in the view I will have to cycle again the data collection in
order to present it. I could even build the path in the view but I would
like to reduce at minimum the data manipulation in this part of
application.

> If you must work around the framework lifecycle, then direct $model-
>>execute('UPDATE blah, blah') calls will work.

Hmmm i forgot this method :)

Thank bye
Davide





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