Revision: 40774
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 8, 2011 01:11 by ef
Initial Code
$regonValidator1 = new sfValidatorRegex(array('pattern' => '/^[0-9]{14}$/')); $regonValidator2 = new sfValidatorRegex(array('pattern' => '/^[0-9]{9}$/')); $this->validatorSchema['regon'] = new sfValidatorOr(array($regonValidator1, $regonValidator2), array(), array('invalid' => 'REGON jest nieprawid��owy'));
Initial URL
Initial Description
Initial Title
Polish REGON validator in Symfony
Initial Tags
Initial Language
Symfony