|
@@ 205-207 (lines=3) @@
|
| 202 |
|
$types = $this->types(); |
| 203 |
|
} |
| 204 |
|
// validate sources for current field |
| 205 |
|
if (Obj::isArray($sources) && array_key_exists($field_name, $sources)) { |
| 206 |
|
$inputType = Str::lowerCase($sources[$field_name]); |
| 207 |
|
} |
| 208 |
|
if (Obj::isArray($types) && array_key_exists($field_name, $types)) { |
| 209 |
|
$filterType = Str::lowerCase($types[$field_name]); |
| 210 |
|
} |
|
@@ 208-210 (lines=3) @@
|
| 205 |
|
if (Obj::isArray($sources) && array_key_exists($field_name, $sources)) { |
| 206 |
|
$inputType = Str::lowerCase($sources[$field_name]); |
| 207 |
|
} |
| 208 |
|
if (Obj::isArray($types) && array_key_exists($field_name, $types)) { |
| 209 |
|
$filterType = Str::lowerCase($types[$field_name]); |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
// get clear field value |
| 213 |
|
$field_value = $this->getRequest($field_name, $inputType); |