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