Skip to content

Instantly share code, notes, and snippets.

@ubermuda
Created May 12, 2009 14:41
Show Gist options
  • Save ubermuda/110521 to your computer and use it in GitHub Desktop.
Save ubermuda/110521 to your computer and use it in GitHub Desktop.
<?php
class myForm extends sfFormDoctrine
{
public function processValues($values = null)
{
$values = parent::processValues($values);
// calculate the value of virtual field "foo"
$values['foo'] = $foo;
return $values;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment