|
@@ 185-189 (lines=5) @@
|
| 182 |
|
$ret .= '>' . $prefix_curr . $this->tree[$key]['obj']->getVar($fieldName) . '</option>'; |
| 183 |
|
$prefix_curr .= $prefix_orig; |
| 184 |
|
} |
| 185 |
|
if (isset($this->tree[$key]['child']) && !empty($this->tree[$key]['child'])) { |
| 186 |
|
foreach ($this->tree[$key]['child'] as $childKey) { |
| 187 |
|
$this->makeSelBoxOptions($fieldName, $selected, $childKey, $ret, $prefix_orig, $prefix_curr); |
| 188 |
|
} |
| 189 |
|
} |
| 190 |
|
} |
| 191 |
|
|
| 192 |
|
/** |
|
@@ 285-289 (lines=5) @@
|
| 282 |
|
$element->addOption($value, $name); |
| 283 |
|
$prefix_curr .= $prefix_orig; |
| 284 |
|
} |
| 285 |
|
if (isset($this->tree[$key]['child']) && !empty($this->tree[$key]['child'])) { |
| 286 |
|
foreach ($this->tree[$key]['child'] as $childKey) { |
| 287 |
|
$this->addSelectOptions($element, $fieldName, $childKey, $prefix_orig, $prefix_curr); |
| 288 |
|
} |
| 289 |
|
} |
| 290 |
|
} |
| 291 |
|
|
| 292 |
|
/** |