summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-05-12 13:54:17 +0000
committerxue <>2006-05-12 13:54:17 +0000
commiteef9e78552d62b83d029b5a83b07301a59dff1a9 (patch)
treee03cc3c10a404f5349a4e3318733eac3addbcf35 /framework
parent2348789034d16ddbd6bcdf6daaae5cdfe3e7551c (diff)
Added TTheme.BaseUrl property.
Diffstat (limited to 'framework')
-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,