From b4e9f6795206fab6b952f814ccf812677a34c635 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 7 Dec 2005 00:32:29 +0000 Subject: --- framework/Web/UI/TTemplateManager.php | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'framework/Web/UI/TTemplateManager.php') 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,26 +51,12 @@ 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. -- cgit v1.2.3