diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/TThemeManager.php | 40 |
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 |