public static function getValidator($name, $options = array())
    {
        $returnValue = null;

        
		
		$clazz = 'tao_helpers_form_validators_'.$name;
		if(class_exists($clazz)){
			$returnValue = new $clazz($options);
		} else {
			common_Logger::w('Unknown validator '.$name, array('TAO', 'FORM'));
		}
		
        

        return $returnValue;
    }
public static function getValidator($name, $options = array())
    {
        $returnValue = null;

        
		
		$clazz = 'tao_helpers_form_validators_'.$name;
		if(class_exists($clazz)){
			$returnValue = new $clazz($options);
		} else {
			common_Logger::w('Unknown validator '.$name, array('TAO', 'FORM'));
		}
		
        

        return $returnValue;
    }
public static function getValidator ( $ name , $ options = array ( ) ) { $ returnValue = null ; $ clazz = 'tao_helpers_form_validators_' . $ name ; if ( class_exists ( $ clazz ) ) { $ returnValue = new $ clazz ( $ options ) ; } else { common_Logger :: w ( 'Unknown validator ' . $ name , array ( 'TAO' , 'FORM' ) ) ; } return $ returnValue ; }
Get an instance of a Validator

@access public
@author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
@param  string $name
@param  array $options
@return tao_helpers_form_Validator
Get an instance of a Validator