diff options
author | wei <> | 2006-01-25 11:04:45 +0000 |
---|---|---|
committer | wei <> | 2006-01-25 11:04:45 +0000 |
commit | 37d761b82a4a5329bed5d08a349247fea1b933b0 (patch) | |
tree | a1999bd7712d835e523ddd929c80bc06f5ce58a5 /framework/Web/UI/TTemplateControl.php | |
parent | 857c6d6cc7ea52d263c91693aeed3923d6073ba7 (diff) |
call ensureChildControls in TTemplateControl::__construct() to make available children for TTemplateControl composition.
Diffstat (limited to 'framework/Web/UI/TTemplateControl.php')
-rw-r--r-- | framework/Web/UI/TTemplateControl.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php index 72731ecd..e3c4d3e9 100644 --- a/framework/Web/UI/TTemplateControl.php +++ b/framework/Web/UI/TTemplateControl.php @@ -65,6 +65,7 @@ class TTemplateControl extends TControl implements INamingContainer {
foreach($tpl->getDirective() as $name=>$value)
$this->setSubProperty($name,$value);
+ $this->ensureChildControls();
}
}
|