symfony API

sfValidatorI18nChoiceLanguage Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.3 version. Switch to:

sfValidatorI18nChoiceLanguage validates than the value is a valid language.

Inheritence

sfValidatorI18nChoiceLanguage  <  sfValidatorChoice < sfValidatorBase

Method Summary

  • configure($options, $messages)
    Configures the current validator.

Methods inherited from sfValidatorChoice

cleanMultiple , configure , doClean , getChoices , inChoices

Methods inherited from sfValidatorBase

addMessage , addOption , addRequiredOption , asString , clean , configure , doClean , getCharset , getDefaultMessages , getDefaultOptions , getEmptyValue , getErrorCodes , getMessage , getMessages , getMessagesWithoutDefaults , getOption , getOptions , getOptionsWithoutDefaults , getRequiredOptions , hasOption , isEmpty , setCharset , setDefaultMessage , setDefaultMessages , setDefaultOptions , setInvalidMessage , setMessage , setMessages , setOption , setOptions , setRequiredMessage , __construct

Method Details

  • configure ($options, $messages) Browse code

    $options An array of options
    $messages An array of error messages

    Configures the current validator.


    Available options:

    * languages: An array of language codes to use