From eef9e78552d62b83d029b5a83b07301a59dff1a9 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 12 May 2006 13:54:17 +0000 Subject: Added TTheme.BaseUrl property. --- HISTORY | 1 + framework/Web/UI/TThemeManager.php | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/HISTORY b/HISTORY index 3158ccac..0801d2f2 100644 --- a/HISTORY +++ b/HISTORY @@ -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 @@ -300,6 +300,14 @@ class TTheme extends TApplicationComponent implements ITheme return $this->_name; } + /** + * @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 -- cgit v1.2.3