Login   Register  
PHP Classes
elePHPant
Icontem

Naf_Validator: Validate user data with the filter extension

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-10-31 (7 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 478 All time: 5,440 This week: 1,448Up
Version License PHP version Categories  
naf-validator 1.0GNU General Public Lice...5.2PHP 5, Validation
Description Author  

This class can be used to validate data based on rules verified by the filter extension.

It can define a set of validation rules to check values passed in an associative array for instance from $_POST or $_GET.

The class can verify the defined rules using the PHP filter extension.

When a validation rules is not satisfied the class returns a validation result object that can provide more details about the failed rule.

Picture of Victor Bolshov
Name: Victor Bolshov <contact>
Classes: 6 packages by
Country: Russian Federation Russian Federation
Age: 35
All time rank: 53012 in Russian Federation Russian Federation
Week rank: 561 Down14 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageValidator (2 files)
Files folder imageexample (1 file)
Plain text file Validator.php Class Naf_Validator class

  Files folder image Files  /  Validator  
File Role Description
  Plain text file Result.php Class Naf_Validator_Result class
  Plain text file Chain.php Class Naf_Validator_Chain class

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file index.php Example example of usage

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:478All time:5,440
 This week:0This week:1,448Up
User Ratings User Comments (1)  
 All time
Utility:91%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:763