Created
November 21, 2012 16:21
-
-
Save lmeyer/4125798 to your computer and use it in GitHub Desktop.
Validateur Symfony ne matchant pas avec une regexp
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
$this->validatorSchema['username'] = new sfValidatorEmail( | |
array('trim' => true, 'must_match' => false, 'min_length' => 3, 'max_length' => 50), | |
array('messages d erreurs') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment