symfony API

sfValidatorManager Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.0 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.0 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfValidatorManager provides management for request parameters and their

Method Summary

  • clear()
    Clears this validator manager so it can be reused.
  • bool execute()
    Executes all validators and determine the validation status.
  • initialize()
    Initializes this validator manager.
  • registerName(, , , , )
    Registers a file or parameter.
  • registerValidator(, , )
    Registers a validator for a file or parameter.
  • bool validate(, , )
    Validates a file or parameter.

Method Details

  • clear () Browse code

    Clears this validator manager so it can be reused.

  • (bool) execute () Browse code

    Executes all validators and determine the validation status.

    returns true, if validation completed successfully, otherwise false

  • initialize () Browse code

    Initializes this validator manager.

  • registerName (, , , , ) Browse code

    Registers a file or parameter.

  • registerValidator (, , ) Browse code

    Registers a validator for a file or parameter.

  • (bool) validate (, , ) Browse code

    Validates a file or parameter.

    returns true, if validation completes successfully, otherwise false