Login   Register  
PHP Classes
elePHPant
Icontem

Data Validator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Mark Rolich
Name: Mark Rolich <e-mail contact>
Packages: 8 Browse all classes by Mark Rolich Browse all classes by
Country: Armenia Armenia - PHP jobs in Armenia
Age: 32
All time rank: 12902 in Armenia Armenia
Week rank: 566 Up2 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download .zip .tar.gz  
This class can validate a set of values based on a list of rules.

It takes an array of values and a list of rules to validate the input values.

The rules list associate a rule expression to be evaluated and the associated error message if the rule is not verified.

The rule expression defines the name of the input variable to be verified and the type of rule it has to satisfy to be considered an error.

The class can consider validation of some values depending on whether other values are valid.

The actual validation rules are implemented by separate classes. Custom validation classes may be added to support new validation types.

  Classes of Mark Rolich  >  Data Validator  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Data Validator
Base name: data-validator
Description: Validate a set of values based on a list of rules
Version: -
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 546 users
All time rank: 4676
Week users: 1 user
Week rank: 2173 Up
 
  Groups   Freshmeat project   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  Freshmeat project  
Project record: data-validator
Popularity score: 18.76
Vitality score: 16.64

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Github Github repository

  Files folder image Files  
File Role Description
Files folder imagelib (4 files)
Accessible without login HTML file documentation.html Doc. Documentation
Accessible without login Plain text file example_all_at_once.php Example Example of all-at-once validation order
Accessible without login Plain text file example_dependencies.php Example Example of validation with dependencies order
Accessible without login Plain text file example_sequence.php Example Example of sequential validation order
Accessible without login Plain text file example_signup.php Example Example of real world advanced validation
Accessible without login Plain text file license.txt Lic. LICENSE
Accessible without login Plain text file README Data README

  Files  /  Files folder image lib  
File Role Description
  Plain text file DataValidator.php Class Main class
  Plain text file DataValidatorLib.php Class Default validation library
  Plain text file Email.php Class Example validation library
  Plain text file User.php Class Example validation library

Download all files: data-validator.tar.gz data-validator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.