Ich weiß net genau wie's mit 1.1 steht, aber in Cake 1.2 sollte $this-
>Model->id eigentlich immer die aktuelle ID enthalten. Notfalls mal
unter $this->Model->data['Model']['id'] nachschauen?
Seriously, write English, will ya?
Gruß.
On 13 May 2008, at 20:45, grobald wrote:
>
> sIst sicher trivialst, aber ich steh wieder mal auf der Leitung. ich
> habe eine Funktion mit der ich ein bestimmtes Feld (url) aus dem
> derzeitigen Record rausholen will:
> $post = $this->Post->read('url', $this->Post->id);
>
> Aber wie komme ich auf die id des Posts den ich gerade offen hab
>
> grüße
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---