Monday, January 25, 2010

question about automagic 'modified' field

Is it possible to automagically update 'modified' field in a
'belongsTo' table when a table is updated.

my example is this: I have two tables with 'modified'
fields...'families' and 'family_members'. models are Family hasMany
FamiyMember, FamilyMember belongsTo Family.

When I edit an existing family_member the 'modified' field gets
updated in 'family_members' table. I would like 'modified' to get
updated in the 'families' table as well. How can I do that?

thanx in advance

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: