Form Validation Abstract Base Class

Provides an interface for validation static functions.

Validation static functions ensure that data entered by users into form fields
is valid. Eg. It is under a certain number of characters.

Class Methods

The following methods can be invoked on instances of this class.

getName()

Returns the name of the validation

getDescription()

Returns a description of the validation

jsOnSubmit()

serverValidation(string strValue)

Validation mechanism called on the server

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class