summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TThemeManager.php
diff options
context:
space:
mode:
authorxue <>2005-12-07 00:32:29 +0000
committerxue <>2005-12-07 00:32:29 +0000
commitb4e9f6795206fab6b952f814ccf812677a34c635 (patch)
treee3be7c6031cd947f233d9e6cbcdec813e391f5ef /framework/Web/UI/TThemeManager.php
parentec46fdc945f591e910051aca0457097825afd34c (diff)
Diffstat (limited to 'framework/Web/UI/TThemeManager.php')
-rw-r--r--framework/Web/UI/TThemeManager.php23
1 files changed, 2 insertions, 21 deletions
diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php
index 504e8ecb..746e36cb 100644
--- a/framework/Web/UI/TThemeManager.php
+++ b/framework/Web/UI/TThemeManager.php
@@ -36,17 +36,13 @@
* @package System.Web.UI
* @since 3.0
*/
-class TThemeManager extends TComponent implements IModule
+class TThemeManager extends TModule
{
/**
* default themes base path
*/
const DEFAULT_BASEPATH='themes';
/**
- * @var string module ID
- */
- private $_id='theme';
- /**
* @var boolean whether this module has been initialized
*/
private $_initialized=false;
@@ -71,28 +67,13 @@ class TThemeManager extends TComponent implements IModule
*/
public function init($application,$config)
{
+ parent::init($application,$config);
$this->_application=$application;
$this->_initialized=true;
$application->getService()->setThemeManager($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;
- }
-
- /**
* @param string name of the theme to be retrieved
* @return TTheme the theme retrieved
*/