About
Installation
Documentation
Plugins
Blog
symfony API
validator Package
You are currently browsing
the website for
symfony 1
Visit the
Symfony2
website
« Back to API menu
Packages
action
-
6 classes
addon
-
7 classes
autoload
-
4 classes
behavior
-
6 classes
cache
-
10 classes
command
-
10 classes
config
-
23 classes
controller
-
4 classes
database
-
7 classes
debug
-
13 classes
default
-
12 classes
doctrine
-
49 classes
event_dispatcher
-
2 classes
exception
-
21 classes
filter
-
9 classes
form
-
10 classes
generator
-
13 classes
helper
-
20 classes
i18n
-
25 classes
log
-
12 classes
mailer
-
4 classes
pager
-
1 classes
plugin
-
14 classes
propel
-
35 classes
request
-
3 classes
response
-
3 classes
routing
-
11 classes
storage
-
10 classes
task
-
53 classes
user
-
3 classes
util
-
18 classes
validator
-
46 classes
sfCallbackValidator
sfCompareValidator
sfDateValidator
sfEmailValidator
sfFileValidator
sfNumberValidator
sfRegexValidator
sfStringValidator
sfUrlValidator
sfValidatedFile
sfValidator
sfValidatorAnd
sfValidatorBase
sfValidatorBoolean
sfValidatorCallback
sfValidatorChoice
sfValidatorChoiceMany
sfValidatorCSRFToken
sfValidatorDate
sfValidatorDateRange
sfValidatorDateTime
sfValidatorDecorator
sfValidatorEmail
sfValidatorError
sfValidatorErrorSchema
sfValidatorFile
sfValidatorFromDescription
sfValidatorI18nChoiceCountry
sfValidatorI18nChoiceLanguage
sfValidatorI18nChoiceTimezone
sfValidatorInteger
sfValidatorManager
sfValidatorNumber
sfValidatorOr
sfValidatorPass
sfValidatorPropelChoice
sfValidatorPropelChoiceMany
sfValidatorPropelUnique
sfValidatorRegex
sfValidatorSchema
sfValidatorSchemaCompare
sfValidatorSchemaFilter
sfValidatorSchemaForEach
sfValidatorString
sfValidatorTime
sfValidatorUrl
view
-
12 classes
widget
-
43 classes
yaml
-
4 classes
You are currently browsing the symfony API for the
1.3
version. Switch to:
1.0
1.1
1.2
1.4
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.
validator
sfCallbackValidator
: sfCallbackValidator allows you to use a custom callback function or method to
sfCompareValidator
: sfCompareValidator compares two different request parameters.
sfDateValidator
: sfDateValidator verifies a parameter is of a date format.
sfEmailValidator
: sfEmailValidator verifies a parameter contains a value that qualifies as an
sfFileValidator
: sfFileValidator allows you to apply constraints to file upload.
sfNumberValidator
: sfNumberValidator verifies a parameter is a number and allows you to apply
sfRegexValidator
: sfRegexValidator allows you to match a value against a regular expression
sfStringValidator
: sfStringValidator allows you to apply string-related constraints to a
sfUrlValidator
: sfUrlValidator verifies a parameter contains a value that qualifies as a valid URL.
sfValidatedFile
: sfValidatedFile represents a validated uploaded file.
sfValidator
: sfValidatorBase allows you to apply constraints to user entered parameters.
sfValidatorAnd
: sfValidatorAnd validates an input value if all validators passes.
sfValidatorBase
: sfValidatorBase is the base class for all validators.
sfValidatorBoolean
: sfValidatorBoolean validates a boolean. It also converts the input value to a valid boolean.
sfValidatorCallback
: sfValidatorCallback validates an input value if the given callback does not throw a sfValidatorError.
sfValidatorChoice
: sfValidatorChoice validates than the value is one of the expected values.
sfValidatorChoiceMany
: sfValidatorChoiceMany validates than an array of values is in the array of the expected values.
sfValidatorCSRFToken
: sfValidatorCSRFToken checks that the token is valid.
sfValidatorDate
: sfValidatorDate validates a date. It also converts the input value to a valid date.
sfValidatorDateRange
: sfValidatorDateRange validates a range of date. It also converts the input values to valid dates.
sfValidatorDateTime
: sfValidatorDateTime validates a date and a time. It also converts the input value to a valid date.
sfValidatorDecorator
: sfValidatorDecorator decorates another validator.
sfValidatorEmail
: sfValidatorEmail validates emails.
sfValidatorError
: sfValidatorError represents a validation error.
sfValidatorErrorSchema
: sfValidatorErrorSchema represents a validation schema error.
sfValidatorFile
: sfValidatorFile validates an uploaded file.
sfValidatorFromDescription
: sfValidatorFromDescription converts a string to a validator.
sfValidatorI18nChoiceCountry
: sfValidatorI18nChoiceCountry validates than the value is a valid country.
sfValidatorI18nChoiceLanguage
: sfValidatorI18nChoiceLanguage validates than the value is a valid language.
sfValidatorI18nChoiceTimezone
: sfValidatorI18nChoiceLanguage validates than the value is a valid timezone.
sfValidatorInteger
: sfValidatorInteger validates an integer. It also converts the input value to an integer.
sfValidatorManager
: sfValidatorManager provides management for request parameters and their
sfValidatorNumber
: sfValidatorNumber validates a number (integer or float). It also converts the input value to a float.
sfValidatorOr
: sfValidatorOr validates an input value if at least one validator passes.
sfValidatorPass
: sfValidatorPass is an identity validator. It simply returns the value unmodified.
sfValidatorPropelChoice
: sfValidatorPropelChoice validates that the value is one of the rows of a table.
sfValidatorPropelChoiceMany
: sfValidatorPropelChoiceMany validates than an array of values is in the array of the existing rows of a table.
sfValidatorPropelUnique
: sfValidatorPropelUnique validates that the uniqueness of a column.
sfValidatorRegex
: sfValidatorRegex validates a value with a regular expression.
sfValidatorSchema
: sfValidatorSchema represents an array of fields.
sfValidatorSchemaCompare
: sfValidatorSchemaCompare compares several values from an array.
sfValidatorSchemaFilter
: sfValidatorSchemaFilter executes non schema validator on a schema input value.
sfValidatorSchemaForEach
: sfValidatorSchemaForEach wraps a validator multiple times in a single validator.
sfValidatorString
: sfValidatorString validates a string. It also converts the input value to a string.
sfValidatorTime
: sfValidatorTime validates a time. It also converts the input value to a valid time.
sfValidatorUrl
: sfValidatorUrl validates Urls.