Hi, can you give a failing example and the version of symfony you're using?
I'm using sf 1.2 and the following works for me: $record = Doctrine::getTable('User')->find(1); $record->first_name = 'hugo'; var_dump($x->getModified()); returns: array(1) { ["first_name"]=> string(4) "hugo" } :-) Klemens On 6 Feb., 15:39, XinJia <xinjia...@gmail.com> wrote: > Hi all, > > Could anybody show me an example to use Doctrine_Record::getModified() > or is it a bug? I'm puzzled for I always got an empty array while I > indeed updated a field. Thanks. > > xj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---