On 6 ene, 07:57, "Dardo Sordi Bogado" <[email protected]> wrote: > Even if you define Model::$primaryKey to be other than 'id' (because > your primary keys is named other than id), the model attribute will > still be called id, ie you need to: > > $this->Zldinput->id = $refindkey; > > Also, you can : $this->Zldinput->read(null, $refindkey);
I haven't had to do this (I didn't know I should have). When should I be using this? My app seems to be working fine this far (of course, now I know about it it will have been broken all along :) -- Saludos Adriano --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
