Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
Validator Class Reference
Inheritance diagram for Validator:
ValidatorControlledVocab ValidatorInSet ValidatorRegExp ValidatorDate ValidatorEmail ValidatorISNI ValidatorISSN ValidatorORCID 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 22 of file

Member Function Documentation

Validator::isValid (   $value)

Check whether the given value is valid.

$valuemixed the value to be checked

Definition at line 34 of file

Validator::Validator ( )


Definition at line 26 of file

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