On Nov 2, 10:45 am, 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?
how about var $id = "name of primary key field" ?
hth,
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---