diff options
author | xue <> | 2005-11-17 22:10:48 +0000 |
---|---|---|
committer | xue <> | 2005-11-17 22:10:48 +0000 |
commit | 3b613bc84c80307b6d93443b9989ca576bf59776 (patch) | |
tree | c8c145710ca990f58898ccf5b3664d5d185057bb /framework/Web/UI/TTemplateManager.php | |
parent | 5f88fccb2aa110929880085152e962f3c1769520 (diff) |
Diffstat (limited to 'framework/Web/UI/TTemplateManager.php')
-rw-r--r-- | framework/Web/UI/TTemplateManager.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index 2703500a..d9d26c0a 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -1,5 +1,10 @@ <?php
+/**
+ * include TTemplate class file
+ */
+Prado::using('System.Web.UI.TTemplate');
+
class TTemplateManager extends TComponent implements IModule
{
const TEMPLATE_FILE_EXT='.tpl';
@@ -13,6 +18,7 @@ class TTemplateManager extends TComponent implements IModule public function init($application,$config)
{
$this->_application=$application;
+ $application->getService()->setTemplateManager($this);
}
/**
|