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. --- framework/Web/UI/TThemeManager.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'framework') 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