On Nov 8, 2007 8:38 PM, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> how could I add a variable to $this->data before saving, that
> shouldn't be generated throughout the form it is associated to? :-)
>
> Thanks in advance

Add a beforeSave() method to your model.


-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to