summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplateManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/TTemplateManager.php')
-rw-r--r--framework/Web/UI/TTemplateManager.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 1ac8c275..31f7c56d 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -10,11 +10,7 @@
*/
namespace Prado\Web\UI;
-
-/**
- * Includes TOutputCache class file
- */
-Prado::using('System.Web.UI.WebControls.TOutputCache');
+use Prado\Prado;
/**
* TTemplateManager class
@@ -36,7 +32,7 @@ Prado::using('System.Web.UI.WebControls.TOutputCache');
* @package Prado\Web\UI
* @since 3.0
*/
-class TTemplateManager extends TModule
+class TTemplateManager extends \Prado\TModule
{
/**
* Template file extension
@@ -64,7 +60,7 @@ class TTemplateManager extends TModule
*/
public function getTemplateByClassName($className)
{
- $class=new ReflectionClass($className);
+ $class=new \ReflectionClass($className);
$tplFile=dirname($class->getFileName()).DIRECTORY_SEPARATOR.$className.self::TEMPLATE_FILE_EXT;
return $this->getTemplateByFileName($tplFile);
}