public function validateValue($value) { if (parent::validateValue($value)) { if ($this->format !== null) { // RETURN 'FORMAT' (lang FIELD_INVALID_FORMAT) // or even return array('FORMAT') return (bool) preg_match($this->format, $value); } return true; } return false; }
public function validateValue($value, $row, Result $result) { return $this->valueField->validateValue($value, $row, $result); }
public function validateValue($value) { return $this->valueField->validateValue($value); }