symfony API

sfValidatorManager Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.3 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.
  • __construct()
    Class constructor.

Method Details

  • clear ()

    Clears this validator manager so it can be reused.

  • (bool) execute ()

    Executes all validators and determine the validation status.

    returns true, if validation completed successfully, otherwise false

  • 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.

    returns true, if validation completes successfully, otherwise false

  • __construct ()

    Class constructor.