Re: [symfony-users] get form reference in post validator class

2011-06-19 Thread Gábor Fási
Not sure what you're trying to do - if you want to pass options, use the $options array in configure(). On Thu, Jun 16, 2011 at 19:24, Mohd Imran wrote: > Hi folks > > Is there any way to get the form reference object in custom post > validator class? > > > class myPostValidator extends sfValidat

[symfony-users] get form reference in post validator class

2011-06-17 Thread Mohd Imran
Hi folks Is there any way to get the form reference object in custom post validator class? class myPostValidator extends sfValidatorBase { public function configure($options = array(), $messages = array()) { } protected function doClean($values) { // How to get form object here ?