summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplateManager.php
diff options
context:
space:
mode:
authorxue <>2005-11-13 20:19:59 +0000
committerxue <>2005-11-13 20:19:59 +0000
commitc608f3bdfe37c0a5707bf8866f14b41762bf43a8 (patch)
treeea0f8e665f926979dccfea49114103033d0e0011 /framework/Web/UI/TTemplateManager.php
parent251b063c0a616ee722c733bf3943772e54630ab5 (diff)
changed loadTemplateByClassName and loadTemplateByFileName to getTemplateByClassName and getTemplateByFileName.
Diffstat (limited to 'framework/Web/UI/TTemplateManager.php')
-rw-r--r--framework/Web/UI/TTemplateManager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 2f8ae688..843d2460 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -31,14 +31,14 @@ class TTemplateManager extends TComponent implements IModule
$this->_id=$value;
}
- public function loadTemplateByClassName($className)
+ public function getTemplateByClassName($className)
{
$class=new ReflectionClass($className);
$tplFile=dirname($class->getFileName()).'/'.$className.self::TEMPLATE_FILE_EXT;
- return $this->loadTemplateByFileName($tplFile);
+ return $this->getTemplateByFileName($tplFile);
}
- public function loadTemplateByFileName($fileName)
+ public function getTemplateByFileName($fileName)
{
if(is_file($fileName))
{