Login   Register  
PHP Classes
elePHPant
Icontem

Model Validation

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

  Author  
Picture of t withers
Name: t withers <e-mail contact>
Packages: 2 Browse all classes by t withers Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 2254284 in United States United States
Week rank: 867 Up92 in United States United States Up


  Detailed description   Download .zip .tar.gz  
This class can validate form values according to many rules.

It can take an array of rules that associate the name of form input values and the rules they must satisfy to be valid.

The class traverses the array of submitted values and checks if they satisfy the specified rules. All the validation errors can be returned in a single array.

Currently it supports validating the submitted values as alphanumeric text, as numbers, and as e-mail addresses.

  Classes of t withers  >  Model Validation  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Model Validation
Base name: model_validation
Description: Validate form values according to many rules
Version: 1.5
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 594 users
All time rank: 4454
Week users: 0 users
Week rank: 2201 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
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


  User ratings  
There are not enough user ratings to display for this class.

  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.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example using Validation Class
Plain text file Validation.php Class Validation Class

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