summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-05-14 01:28:44 +0000
committerxue <>2006-05-14 01:28:44 +0000
commit8848464bd3534a9f831a02c022c94c1d42a4f6e2 (patch)
tree2da7ada8ae3b2487830665d042f36b5d816e9ef4 /framework/Web
parentae43fa72cdae13bace16a5b8250170e472bb2b87 (diff)
Merge from 3.0 branch till 1063.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TThemeManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php
index 7ae36556..c351bcdb 100644
--- a/framework/Web/UI/TThemeManager.php
+++ b/framework/Web/UI/TThemeManager.php
@@ -301,6 +301,14 @@ class TTheme extends TApplicationComponent implements ITheme
}
/**
+ * @return string the URL to the theme folder (without ending slash)
+ */
+ public function getBaseUrl()
+ {
+ return $this->_themeUrl;
+ }
+
+ /**
* Applies the theme to a particular control.
* The control's class name and SkinID value will be used to
* identify which skin to be applied. If the control's SkinID is empty,