diff options
author | xue <> | 2005-11-14 00:30:08 +0000 |
---|---|---|
committer | xue <> | 2005-11-14 00:30:08 +0000 |
commit | 32dd060128dcbb4edfc14b8463f07d3cba23e931 (patch) | |
tree | d5a850718be1f8a548e489ca05d4b12c9f901760 /framework/Web | |
parent | 99b820a5bf36158405208f140cf48f8aedf91fff (diff) |
Modified for theme support.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/Services/TPageService.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index c4251a65..39dddd59 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -204,6 +204,14 @@ class TPageService extends TComponent implements IService }
/**
+ * @return TThemeManager theme manager
+ */
+ public function getThemeManager()
+ {
+ return $this->_application->getModule('theme');
+ }
+
+ /**
* @return boolean true if the pagepath is currently being requested, false otherwise
*/
public function isRequestingPage($pagePath)
@@ -371,7 +379,8 @@ class TPageConfiguration extends TComponent */
private $_modules=array(
'template'=>array('System.Web.UI.TTemplateManager',array(),null),
- 'asset'=>array('System.Web.TAssetManager',array(),null)
+ 'asset'=>array('System.Web.TAssetManager',array(),null),
+ 'theme'=>array('System.Web.UI.TThemeManager',array(),null)
);
/**
* @var array list of parameters
|