/inc/formslib/validtester.php

Description

test the validity of data according to a set of rules

Includes
require_once ('inc/typeinfo.php') (line 18)

type checking and data manipulation

require_once ('inc/typeinfo.php') (line 14)

Load ancillary functions

Functions
ValidTester (line 28)

check if data is valid

  • return: data is valid
boolean ValidTester (string $validator, mixed $data, [integer $DEBUG = 0])
  • string $validator: name of a function to call
  • mixed $data: data to be validated (string, number, array etc)
  • integer $DEBUG: (optional) debug level for extra data output

Documentation generated on Tue, 06 Mar 2007 10:02:10 +0000 by phpDocumentor 1.3.0