diff options
author | xue <> | 2006-05-12 13:54:17 +0000 |
---|---|---|
committer | xue <> | 2006-05-12 13:54:17 +0000 |
commit | eef9e78552d62b83d029b5a83b07301a59dff1a9 (patch) | |
tree | e03cc3c10a404f5349a4e3318733eac3addbcf35 | |
parent | 2348789034d16ddbd6bcdf6daaae5cdfe3e7551c (diff) |
Added TTheme.BaseUrl property.
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/UI/TThemeManager.php | 8 |
2 files changed, 9 insertions, 0 deletions
@@ -6,6 +6,7 @@ ENH: added sanity check to calling event handlers (Qiang) ENH: added search for quickstart tutorials (Wei)
ENH: added support to property tags for template owner control (Qiang)
ENH: added Bulgarian requirement checker messages (StanProg)
+ENH: added TTheme.BaseUrl property (Qiang)
CHG: Ticket#151 - URL format is modified to handle empty GET values (Qiang)
CHG: Ticket#153 - TAssetManager now ignores .svn directories (Qiang)
NEW: TTableHeaderRow, TTableFooterRow and table section support (Qiang)
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,
|