Re: [symfony-users] access object from validator

2010-04-07 Thread Mihai Rusoaie
values, his object. Hence, I suppose that you should process > your comparisons somewhere in the form's method, maybe doBind() or > doUpdateObject(). > > > -Message d'origine- > De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] &

RE: [symfony-users] access object from validator

2010-04-06 Thread NOOVEO - Christophe Brun
com] De la part de Mihai Rusoaie Envoyé : jeudi 1 avril 2010 10:44 À : symfony users Objet : [symfony-users] access object from validator Hello, all! Is there any way to access my object (the one before the form post) from a sfValidatorSchema ? When I had my validator inside the Form.class.php

[symfony-users] access object from validator

2010-04-01 Thread Mihai Rusoaie
Hello, all! Is there any way to access my object (the one before the form post) from a sfValidatorSchema ? When I had my validator inside the Form.class.php file, I could access the object with $this->getObject(), but from the sfValidatorSchema class I cannot access it like this. I need to compa