ok now i should have my associations set up correctly.

associations can be seen here: www.jpgalea.com/erm.jpg

What i need is that when a membership is created the following script
is run in order to create a tasklist record.

http://bin.cakephp.org/view/1697492973

this is the part where im getting confused. as far as i can see i need
to use the beforeSave function in the Membership model in order to
trigger this creation of a new record in the tasklist model. however i
am not sure in what way to do this. should i put this query code in
say tasklist::addtasklist and then call that function from the
beforeSave controller in the membership model? or should i run a query
directly inside the beforeSave function in the membership model? or
maybe some other way?


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