Re: [symfony-users] access object from validator

2010-04-07 Thread Mihai Rusoaie
doBind() or doUpdateObject(). -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.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

RE: [symfony-users] access object from validator

2010-04-06 Thread NOOVEO - Christophe Brun
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 file, I could access

[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