Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
Validator Class Reference
Inheritance diagram for Validator:
ValidatorControlledVocab ValidatorRegExp ValidatorDate ValidatorEmail ValidatorISSN ValidatorUri ValidatorUrl

Public Member Functions

 isValid ($value)
 Validator ()

Detailed Description

Abstract class that represents a validation check. This class and its sub-classes can be used outside a form validation context which enables re-use of complex validation code.

Definition at line 23 of file

Member Function Documentation

Validator::isValid (   $value)

Check whether the given value is valid.

$valuemixed the value to be checked

Definition at line 35 of file

Validator::Validator ( )


Definition at line 27 of file

The documentation for this class was generated from the following file: