src/wcmf/lib/validation/Validator.php
protected static function getValidateType($validateTypeName) {
    $validatorTypes = ObjectFactory::getInstance('validators');
    if (!isset($validatorTypes[$validateTypeName])) {
      throw new ConfigurationException("Configuration section 'Validators' does not contain a validator named: ".$validateTypeName);
    }
    return $validatorTypes[$validateTypeName];
  }
protected static function getValidateType($validateTypeName) {
    $validatorTypes = ObjectFactory::getInstance('validators');
    if (!isset($validatorTypes[$validateTypeName])) {
      throw new ConfigurationException("Configuration section 'Validators' does not contain a validator named: ".$validateTypeName);
    }
    return $validatorTypes[$validateTypeName];
  }
protected static function getValidateType ( $ validateTypeName ) { $ validatorTypes = ObjectFactory :: getInstance ( 'validators' ) ; if ( ! isset ( $ validatorTypes [ $ validateTypeName ] ) ) { throw new ConfigurationException ( "Configuration section 'Validators' does not contain a validator named: " . $ validateTypeName ) ; } return $ validatorTypes [ $ validateTypeName ] ; }
Get the ValidateType instance for the given name.
@param $validateTypeName The validate type's name
@return ValidateType instance
Get the ValidateType instance for the given name .