Login   Register  
PHP Classes
elePHPant
Icontem

Class: validation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sven Wagener  >  validation  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: validation
Base name: validation
Description: Validation with non-regular expression patterns
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3622 users
All time rank: 727
Week users: 6 users
Week rank: 596
Picture of Sven Wagener
Author: Sven Wagener <e-mail contact>
Packages: 10 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 32
All time rank: 131 in Germany Germany
Week rank: 61 Down2 in Germany Germany Down


  Detailed description  
This class is meant to validate text strings using patterns that are defined with a simple syntax that is not based on regular expressions.

Here are a few examples of validation patterns:

"2N 5L" = 2Numbers 1Whitespace 5Letters e.g.: "12 ABCDE"
"2-5N 5L" = 2-5Numbers 1Whitespace 5Letters e.g.: "1234 ABCDE"

"2N:2N:2N" would match on "12:35:24" for checking time
"2N.2N.4N" would match on "01.01.2004" for checking date

This package includes sub-classes to do more specific validations like verifying address data patterns.

 

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Validation Validation algorithms View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Sufficient (75.0%)
-
Good (83.3%)
-
-
Not sure (59.6%)
833
Month:
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.
  Files folder image Files  
File Role Description
Accessible without login Plain text file examples_validate.class.php Example Examples for working with base validation class
Accessible without login Plain text file validate.class.php Class Base validation class
Accessible without login Plain text file validate_address.class.php Class Validate address data

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