Lines Matching refs:data
35 if ($rawvalue === null) $rawvalue = ''; // no data was passed
55 // validate data
70 * Validate the given data for a single field
78 * @param array|string|int &$data may be modified by the validation function
79 * @return bool true if the data validates, otherwise false
81 protected function validateField(AbstractBaseType $type, $label, &$data)
86 if (is_array($data)) {
87 foreach ($data as &$value) {
100 if (!blank($data)) {
102 $data = $type->validate($data);