Claro_Validator_AllowedList Class Reference

Inheritance diagram for Claro_Validator_AllowedList:
Claro_Validator

Public Member Functions

 __construct ($allowedValues)
 isValid ($value)

Protected Attributes

 $allowedValues

Detailed Description

Validator that checks if the value is in a given list

Definition at line 161 of file validator.lib.php.


Constructor & Destructor Documentation

__construct ( allowedValues  ) 
Parameters:
array $allowedValues

Definition at line 168 of file validator.lib.php.


Member Function Documentation

isValid ( value  ) 
See also:
Claro_Validator

Implements Claro_Validator.

Definition at line 176 of file validator.lib.php.


Field Documentation

$allowedValues [protected]

Definition at line 163 of file validator.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:38 2010 for Claroline API by  doxygen 1.6.3