|
@@ 220-222 (lines=3) @@
|
| 217 |
|
} |
| 218 |
|
$component->setTemplateControl($tplControl); |
| 219 |
|
if (isset($properties['id'])) { |
| 220 |
|
if (is_array($properties['id'])) { |
| 221 |
|
$properties['id'] = $component->evaluateExpression($properties['id'][1]); |
| 222 |
|
} |
| 223 |
|
$tplControl->registerObject($properties['id'], $component); |
| 224 |
|
} |
| 225 |
|
if (isset($properties['skinid'])) { |
|
@@ 254-256 (lines=3) @@
|
| 251 |
|
} elseif ($component instanceof TComponent) { |
| 252 |
|
$controls[$key] = $component; |
| 253 |
|
if (isset($properties['id'])) { |
| 254 |
|
if (is_array($properties['id'])) { |
| 255 |
|
$properties['id'] = $component->evaluateExpression($properties['id'][1]); |
| 256 |
|
} |
| 257 |
|
$tplControl->registerObject($properties['id'], $component); |
| 258 |
|
if (!$component->hasProperty('id')) { |
| 259 |
|
unset($properties['id']); |