diff options
author | xue <> | 2005-11-13 20:19:59 +0000 |
---|---|---|
committer | xue <> | 2005-11-13 20:19:59 +0000 |
commit | c608f3bdfe37c0a5707bf8866f14b41762bf43a8 (patch) | |
tree | ea0f8e665f926979dccfea49114103033d0e0011 /framework/Web/UI/TTemplateControl.php | |
parent | 251b063c0a616ee722c733bf3943772e54630ab5 (diff) |
changed loadTemplateByClassName and loadTemplateByFileName to getTemplateByClassName and getTemplateByFileName.
Diffstat (limited to 'framework/Web/UI/TTemplateControl.php')
-rw-r--r-- | framework/Web/UI/TTemplateControl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php index 7042281c..ee205b33 100644 --- a/framework/Web/UI/TTemplateControl.php +++ b/framework/Web/UI/TTemplateControl.php @@ -109,7 +109,7 @@ class TTemplateControl extends TControl implements INamingContainer */
protected function loadTemplate()
{
- $template=Prado::getApplication()->getService()->getTemplateManager()->loadTemplateByClassName(get_class($this));
+ $template=Prado::getApplication()->getService()->getTemplateManager()->getTemplateByClassName(get_class($this));
eval(get_class($this).'::$_template=$template;');
return $template;
}
|