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.php24
1 files changed, 3 insertions, 21 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 1f3044a2..6864e038 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -27,7 +27,7 @@
* @package System.Web.UI
* @since 3.0
*/
-class TTemplateManager extends TComponent implements IModule
+class TTemplateManager extends TModule
{
/**
* Template file extension
@@ -41,10 +41,6 @@ class TTemplateManager extends TComponent implements IModule
* @var TApplication application instance
*/
private $_application;
- /**
- * @var string module ID
- */
- private $_id;
/**
* Initializes the module.
@@ -55,27 +51,13 @@ class TTemplateManager extends TComponent implements IModule
*/
public function init($application,$config)
{
+ parent::init($application,$config);
+
$this->_application=$application;
$application->getService()->setTemplateManager($this);
}
/**
- * @return string id of this module
- */
- public function getID()
- {
- return $this->_id;
- }
-
- /**
- * @param string id of this module
- */
- public function setID($value)
- {
- $this->_id=$value;
- }
-
- /**
* Loads the template corresponding to the specified class name.
* @return ITemplate template for the class name, null if template doesn't exist.
*/