Created
May 12, 2009 14:41
-
-
Save ubermuda/110521 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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