From dd7a47c0ec81857d512b73b92b5f26321f351c39 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 15 Jun 2007 15:17:27 +0000 Subject: Fixed #639. --- framework/Web/UI/TThemeManager.php | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'framework/Web') diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php index 6b3fe53c..a7651a3e 100644 --- a/framework/Web/UI/TThemeManager.php +++ b/framework/Web/UI/TThemeManager.php @@ -328,6 +328,14 @@ class TTheme extends TApplicationComponent implements ITheme return $this->_name; } + /** + * @param string theme name + */ + protected function setName($value) + { + $this->_name = $value; + } + /** * @return string the URL to the theme folder (without ending slash) */ @@ -336,6 +344,14 @@ class TTheme extends TApplicationComponent implements ITheme return $this->_themeUrl; } + /** + * @param string the URL to the theme folder + */ + protected function setBaseUrl($value) + { + $this->_themeUrl=rtrim($value,'/'); + } + /** * @return string the file path to the theme folder */ @@ -344,6 +360,14 @@ class TTheme extends TApplicationComponent implements ITheme return $this->_themePath; } + /** + * @param string tthe file path to the theme folder + */ + protected function setBasePath($value) + { + $this->_themePath=$value; + } + /** * Applies the theme to a particular control. * The control's class name and SkinID value will be used to @@ -425,6 +449,14 @@ class TTheme extends TApplicationComponent implements ITheme return $this->_cssFiles; } + /** + * @param array list of CSS files (URL) in the theme + */ + protected function setStyleSheetFiles($value) + { + $this->_cssFiles=$value; + } + /** * @return array list of Javascript files (URL) in the theme */ @@ -432,6 +464,14 @@ class TTheme extends TApplicationComponent implements ITheme { return $this->_jsFiles; } + + /** + * @param array list of Javascript files (URL) in the theme + */ + protected function setJavaScriptFiles($value) + { + $this->_jsFiles=$value; + } } ?> \ No newline at end of file -- cgit v1.2.3