From 8848464bd3534a9f831a02c022c94c1d42a4f6e2 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 14 May 2006 01:28:44 +0000 Subject: Merge from 3.0 branch till 1063. --- framework/Web/UI/TThemeManager.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'framework/Web/UI') 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