Thanks, that make sense.

Out of curiosity what is Model::getLastInsertID() and
Model::getInsertID() normally used for and is there a difference. The
API has the same description for both methods.

On May 13, 1:12 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> use $this->Model->id. You do not need those other methods. The model
> is set to the proper id after a save.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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