Conditions | 4 |
Paths | 3 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
49 | public function init($fields) |
||
50 | { |
||
51 | if (\is_array($fields) && \count($fields) > 0) { |
||
52 | foreach (\array_keys($fields) as $key) { |
||
53 | $this->initVar($key, $fields[$key]->getVar('field_valuetype'), $fields[$key]->getVar('field_default', 'n'), $fields[$key]->getVar('field_required'), $fields[$key]->getVar('field_maxlength')); |
||
54 | } |
||
58 |