I don't know what the att_accessor is in RoR. Perhaps what you want is the afterFind callback, where you can modify the data loaded from the db (including adding extra attributes).
Justin Hernandez wrote: > How can I add variables to a model without having a corresponding > field in the table? I'm looking for something like the attr_accessor > in RoR. Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
