symfony API

sfValidatorCallback Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

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

sfValidatorCallback validates an input value if the given callback does not throw a sfValidatorError.

Method Details

  • configure ($options, $messages) Browse code

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

    Configures the current validator.


    Available options:

    * callback: A valid PHP callback (required)
    * arguments: An array of arguments to pass to the callback

  • doClean () Browse code

    @see sfValidatorBase