Lines Matching refs:rawvalue
30 * @param mixed &$rawvalue the value, will be fixed according to the type
33 public function validateValue(Column $col, &$rawvalue)
35 if ($rawvalue === null) $rawvalue = ''; // no data was passed
40 if ($type->isMulti() && !is_array($rawvalue)) {
41 $rawvalue = $type->splitValues($rawvalue);
47 if (is_array($rawvalue)) {
48 $rawvalue = array_filter($rawvalue, [$this, 'filter']);
49 $rawvalue = array_values($rawvalue); // reset the array keys
50 if ($rawvalue === []) {
51 $rawvalue = [''];
56 return $this->validateField($type, $trans, $rawvalue);