Login   Register  
PHP Classes
elePHPant
Icontem

Class: Naf_Validator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Victor Bolshov  >  Naf_Validator  >  Download .tar.gz .zip  >  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
Related classes: , , , ,
Version: 1.0
PHP version: 5.2
License: GNU General Public License (GPL)
All time users: 430 users
All time rank: 4861
Week users: 0 users
Week rank: 2502
Picture of Victor Bolshov
Author: Victor Bolshov <e-mail contact>
Packages: 6 Browse this author's classes Browse this author's classes
Country: Russian Federation Russian Federation - PHP jobs in Russian Federation
Age: 33
All time rank: 52412 in Russian Federation Russian Federation
Week rank: 715 Down21 in Russian Federation Russian Federation Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  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

  Rate classes User ratings   Dependents   Applications   Files Files  

  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%)
686
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
  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.