*/ class LSformRule_LSformElement_select_validValue extends LSformRule { /** * Validate form element value * * @param mixed $value The value to validate * @param array $options Validation options: * @param LSformElement_select &$formElement The related LSformElement object * * @return boolean True if value is valid, False otherwise */ public static function validate($value, $options, &$formElement) { $ret = $formElement -> isValidValue($value); if ($ret===False) return False; return True; } }