ValidForm Builder

Easy and safe XHTML 1.0 strict forms with validation!

Contents

The VF_Validator class

Introduction

This class creates a new validation object. It is used by ValidForm Builder to validate all the form fields. This class is for internal use only. Use ValidForm→isValid to validate form fields.

Class synopsis

VF_Validator {
	string getCheck(integer $checkType)
	string validate(integer $checkType, string $value)
}

Table of Contents

VF_Validator::getCheck — Gets the regular expressionn for the given checkType
VF_Validator::validate — Validates the value using a given checkType