Please explain what you want to achieve more clearly. But perhaps the beforeSave() model callback is what you are after? Then you can modify the data that is about to be saved in any way you like.
On Nov 2, 7:45 pm, maxpo <[EMAIL PROTECTED]> wrote: > How can assign custom id fields to model, so that whenever i call save > it should reffer to those id fields before inserting. > I know var $id is there in models but how to use it? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
