summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2007-06-15 15:17:27 +0000
committerxue <>2007-06-15 15:17:27 +0000
commitdd7a47c0ec81857d512b73b92b5f26321f351c39 (patch)
treee04b64dafc58ffac7bd6c19a19370c79cd25998b /framework/Web
parent362a4036eb99b108050bdb027626de964a90ef67 (diff)
Fixed #639.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TThemeManager.php40
1 files changed, 40 insertions, 0 deletions
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