sfValidatorSchemaForEach wraps a validator multiple times in a single
validator.
Method Summary
-
asString($indent)
-
__construct($validator, $count, $options = array(), $messages = array())
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 , setDefaultMessages , setDefaultOptions , setInvalidMessage , setMessage , setMessages , setOption , setOptions , setRequiredMessage , __construct
Method Details
-
-
__construct ($validator, $count, $options = array(), $messages = array())
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.
|