*/ class LSformRule_LSformElement_select_validValue extends LSformRule { /** * Validate value * * @param string $values The value to validate * @param array $options Validation options * @param object $formElement The related formElement object * * @return boolean true if the value is valide, false if not */ public static function validate($value, $options, &$formElement) { $ret = $formElement -> isValidValue($value); if ($ret===False) return False; return True; } }