@@ 199-203 (lines=5) @@ | ||
196 | $ret .= '>' . $prefix_curr . $this->tree[$key]['obj']->getVar($fieldName) . '</option>'; |
|
197 | $prefix_curr .= $prefix_orig; |
|
198 | } |
|
199 | if (isset($this->tree[$key]['child']) && !empty($this->tree[$key]['child'])) { |
|
200 | foreach ($this->tree[$key]['child'] as $childKey) { |
|
201 | $this->makeSelBoxOptions($fieldName, $selected, $childKey, $ret, $prefix_orig, $prefix_curr); |
|
202 | } |
|
203 | } |
|
204 | } |
|
205 | ||
206 | /** |
|
@@ 297-301 (lines=5) @@ | ||
294 | $element->addOption($value, $name); |
|
295 | $prefix_curr .= $prefix_orig; |
|
296 | } |
|
297 | if (isset($this->tree[$key]['child']) && !empty($this->tree[$key]['child'])) { |
|
298 | foreach ($this->tree[$key]['child'] as $childKey) { |
|
299 | $this->addSelectOptions($element, $fieldName, $childKey, $prefix_orig, $prefix_curr); |
|
300 | } |
|
301 | } |
|
302 | } |
|
303 | ||
304 | /** |