Login   Register  
PHP Classes
elePHPant
Icontem

Naf_Validator

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

  Author  
Picture of Victor Bolshov
Name: Victor Bolshov <e-mail contact>
Packages: 6 Browse all classes by Victor Bolshov Browse all classes by
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 34
All time rank: 53813 in Russian Federation Russian Federation
Week rank: 1043 Down25 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
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.

  Classes of Victor Bolshov  >  Naf_Validator  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Naf_Validator
Base name: naf-validator
Description: Validate user data with the filter extension
Version: 1.0
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 455 users
All time rank: 5177
Week users: 1 user
Week rank: 1988 Up
 
  Groups   Rate classes User ratings   Dependents   Applications   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


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (83.3%)
-
Sufficient (75.0%)
-
-
Sufficient (61.7%)
723
Month:
Not yet rated by the users

  Packages that need this class  
Class Dependency Why it is needed
Naf Database Tools
Conditional
required for Naf_Record validation

  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
Files folder imageValidator (2 files)
Files folder imageexample (1 file)
Plain text file Validator.php Class Naf_Validator class

  Files  /  Files folder image 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  /  Files folder image example  
File Role Description
  Accessible without login Plain text file index.php Example example of usage

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