The only way that I know is to detect before you save. For example:

class Ninja extends BaseNinja
{
  public function save($con=null)
  {
    $age_modified = $this->isColumnModified(NinjaPeer::AGE);
    $gender_modified = $this->isColumnModified(NinjaPeer::GENDER);

    // do something with the above flags

    return parent::save($con);
  }
}

On Mon, Oct 12, 2009 at 9:53 PM, Tomasz Ignatiuk
<tomek.ignat...@gmail.com> wrote:
>
> Does anyone know if there is in Symfony a function that returns
> updated fileds after saving a form? Or how to do it? I use Propel. In
> Propel doUpdate returns no of changed row, but not field names.
> >
>



-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

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

Reply via email to