Login   Register  
PHP Classes
elePHPant
Icontem

File: samples/isbn.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  QValidation  >  samples/isbn.php  >  Download  
File: samples/isbn.php
Role: Example script
Content type: text/plain
Description: sample isbn validation
Class: QValidation
Validate several types of value
Author: By
Last change:
Date: 2009-05-11 04:16
Size: 224 bytes
 

Contents

Class file image Download

include_once("config.inc.php");

$valid = Validation_DataType_String::getInstance();
$valid->setValue("3827370191");
$valid->chain(
    "string",
    "Validation_DataType_String::validateISBN13"
);

print_r($valid);