Lines Matching defs:type
30 * @param mixed &$rawvalue the value, will be fixed according to the type
38 $type = $col->getType();
39 $trans = $type->getTranslatedLabel();
40 if ($type->isMulti() && !is_array($rawvalue)) {
41 $rawvalue = $type->splitValues($rawvalue);
56 return $this->validateField($type, $trans, $rawvalue);
76 * @param AbstractBaseType $type
81 protected function validateField(AbstractBaseType $type, $label, &$data)
90 $value = $type->validate($value);
102 $data = $type->validate($data);