This is the worst kind of noob question, but I'm stumped. I've tried:
$this->Modelname->getID();
$this->Modelname->getLastInsertID();
$this->data['Modelname']['id'];
a special method from the Wizard Component:
$this->Wizard->read('step.Modelname.id'); //by the way, this method
retrieves data for ANY field BUT id.
and no joy. I just want the current Model's record id. What am I
missing?
Any insight you may be able to offer will be most welcome. Thanks in
advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---