Глава 62. Validate
- Содержание
- Validate (main package)
- Validate features
- Validate_AR
- Validate_AT
- Validate_AU
- Validate_BE
- Validate_CA
- Validate_CH
- Validate_DE
- Validate_DK
- Validate_ES
- Validate_esMX
- Validate_FI
- Validate_FR
- Validate_IE
- Validate_IN
- Validate_IS
- Validate_NL
- Validate_NZ
- Validate_PL
- Validate_ptBR
- Validate_UK
- Validate_US
- Validate_ZA
- Validate_Finance
- Validate_Finance_CreditCard
- Validate_ISPN
Validate offers a set of packages to validate common or specific data. The main package validates the common data. Specific data are localised or thematic.
Localized validation class
Argentina: Validate_AR
Austria: Validate_AT
Australia : Validate_AU
Belgium: Validate_BE
Brasil: Validate_PTBR
Canada: Validate_CA
Denmark: Validate_DK
Finland: Validate_FI
France: Validate_FR
Germany: Validate_DE
Iceland: Validate_IS
Ireland: Validate_IE
Netherlands: Validate_NL
New Zealand: Validate_NZ
Polands: Validate_PL
Republic of India: Validate_IN
South Africa: Validate_ZA
Spain: Validate_ES
Switzerland: Validate_CH
United Kingdom: Validate_UK
United States: Validate_US
Thematic validation class
Financial: Validate_Finance
Credit Cards: Validate_Finance_CreditCard
International Standard Product Numbers : Validate_ISPN
Validate (main package)
The main package provides methods to validate various data. It includes :
numbers (min/max, decimal or not)
email (syntax, domain check)
string (predifined type alpha upper and/or lowercase, numeric,...)
date (date, options) - Options can be format (Format of the date (%d-%m-%Y) or rfc822_compliant), min (the date has to be greater than this array ($day, $month, $year) or PEAR::Date object), max (The dat hast to be smaller than this array ($day, $month, $year) or PEAR::Date object)
uri (RFC2396)
possibility valid multiple data with a single method call (::multiple)
See also :
Пред. | Начало | След. |
VersionControl_SVN | Уровень выше | Validate features |