sfValidatorSchemaForEach wraps a validator multiple times in a single validator.
Method Summary
-
asString()
@see sfValidatorBase
-
__construct($validator, $count, $options, $messages)
Constructor.
asString , clean , configure , doClean , getBytes , getFields , getPostValidator , getPreValidator , offsetExists , offsetGet , offsetSet , offsetUnset , postClean , preClean , setPostValidator , setPreValidator , __clone , __construct
addMessage , addOption , addRequiredOption , asString , clean , configure , doClean , getCharset , getDefaultMessages , getDefaultOptions , getEmptyValue , getErrorCodes , getMessage , getMessages , getMessagesWithoutDefaults , getOption , getOptions , getOptionsWithoutDefaults , getRequiredOptions , hasOption , isEmpty , setCharset , setDefaultMessage , setDefaultMessages , setDefaultOptions , setMessage , setMessages , setOption , setOptions , __construct
Method Details
-
@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.
|