www/engine/System/Classes/Modules/Entitizer/Utils/Dataset.php 2 locations
|
@@ 73-76 (lines=4) @@
|
| 70 |
|
|
| 71 |
|
# Update params |
| 72 |
|
|
| 73 |
|
foreach ($data as $name => $value) { |
| 74 |
|
|
| 75 |
|
if (isset($this->params[$name])) $this->data[$name] = $this->params[$name]->cast($value); |
| 76 |
|
} |
| 77 |
|
|
| 78 |
|
# Update extras |
| 79 |
|
|
|
@@ 95-98 (lines=4) @@
|
| 92 |
|
|
| 93 |
|
$cast = []; |
| 94 |
|
|
| 95 |
|
foreach ($data as $name => $value) { |
| 96 |
|
|
| 97 |
|
if (isset($this->params[$name])) $cast[$name] = $this->params[$name]->cast($value); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
# ------------------------ |
| 101 |
|
|