XCube_Validator Class Reference

Inherited by XCube_EmailValidator, XCube_ExtensionValidator, XCube_IntRangeValidator, XCube_MaskValidator, XCube_MaxfilesizeValidator, XCube_MaxlengthValidator, XCube_MaxValidator, XCube_MinlengthValidator, XCube_MinValidator, XCube_ObjectExistValidator, and XCube_RequiredValidator.

List of all members.

Public Member Functions

 isValid (&$form, $vars)


Detailed Description

This class defines a interface which XCube_ActionForm calls the check functions. But this class is designing now, you should not write a code which dependents on the design of this class. We designed this class as static method class group with a reason which a program can not generate many instance quickly. However, if we will find better method to solve a problem, we will change it.

Don't use these classes directly, you should use XCube_ActionForm only. This is 'protected' accesser in the namespace of XCube_ActionForm.


Member Function Documentation

XCube_Validator::isValid ( &$  form,
vars 
)

Parameters:
XCube_FormProperty $form
array $vars variables of this field property.
Returns:
bool


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 00:27:24 2006 for XOOPS Cube Legacy by  doxygen 1.5.1