symfony API

sfValidatorSchemaForEach Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.1 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.1 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.

sfValidatorSchemaForEach wraps a validator multiple times in a single validator.

Inheritence

sfValidatorSchemaForEach  <  sfValidatorSchema < sfValidatorBase

Method Summary

  • asString()
    @see sfValidatorBase
  • __construct($validator, $count, $options, $messages)
    Constructor.

Methods inherited from sfValidatorSchema

asString , clean , configure , doClean , getBytes , getFields , getPostValidator , getPreValidator , offsetExists , offsetGet , offsetSet , offsetUnset , postClean , preClean , setPostValidator , setPreValidator , __clone , __construct

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 , setDefaultMessages , setDefaultOptions , setMessage , setMessages , setOption , setOptions , __construct

Method Details

  • asString () Browse code

    @see sfValidatorBase

  • __construct ($validator, $count, $options, $messages) Browse code

    $validator Initial validator
    $count The number of times to replicate the validator
    $options An array of options
    $messages An array of error messages

    Constructor.