symfony API

sfValidatorConfigHandler 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:

sfValidatorConfigHandler allows you to register validators with the system.

Inheritence

sfValidatorConfigHandler  <  sfYamlConfigHandler < sfConfigHandler

Method Summary

Methods inherited from sfYamlConfigHandler

flattenConfiguration , flattenConfigurationWithEnvironment , getConfigValue , mergeConfigValue , parseYaml , parseYamls

Methods inherited from sfConfigHandler

execute , getConfiguration , getParameterHolder , initialize , replaceConstants , replacePath , __construct

Method Details

  • convertAlternate2Standard () Browse code

    Converts alternate format to standard format.

  • (string) execute () Browse code

    Executes this configuration handler.

    returns Data to be written to a cache file

    throws sfConfigurationException If a requested configuration file does not exist or is not readable

  • (boolean) generateRegistration (, , , , ) Browse code

    Generates raw cache data.

    returns Returns true if there is some validators for this file/parameter

  • loadAttributes (, , , , , ) Browse code

    Loads the linear list of attributes from the [names] category.

  • loadNames (, , , , , ) Browse code

    Loads all request methods and the file/parameter names that will be

    validated from the [methods] category.

  • loadValidators (, , , , ) Browse code

    Loads a list of validators.