VersionControl_SVN Validate features

Packages

PEAR Manual


Validate

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

  • Poland: 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 date 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

Packages

PEAR Manual