summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknut <>2008-08-14 21:15:30 +0000
committerknut <>2008-08-14 21:15:30 +0000
commit38eb5a099b3e4bc1b7235aff126d30468a432c86 (patch)
tree1b5efd34781e0b1751d088fd369fa328a0fe5818
parent13b1a1322567521e4ba7a51d2f11aa5b4c24a3b6 (diff)
fixed #896
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/TThemeManager.php20
2 files changed, 19 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index c6e036db..023fe703 100644
--- a/HISTORY
+++ b/HISTORY
@@ -21,6 +21,7 @@ ENH: Added Prado.Validation.validateControl(id) on client side to validate a spe
ENH: Added MessageSource_Database to I18N (uses TDbConnection) (Michael)
ENH: Ticket#890 - Minor optimization: Use $var===null over is_null($var) (Knut)
ENH: Ticket#893 - Added page parameter to queryForPagedList() to specify the initial page to load (Michael)
+ENH: Ticket#896 - TTheme - enhance for subclassing (Knut)
ENH: Ticket#898 - Minor optimization: Use (int) over intval() (Knut)
ENH: Ticket#901 - Using TDbDataReader directly as a DataSource of TDataBoundControl's like TDataGrid (Knut)
CHG: Ticket#844 - Upgraded TinyMCE to 3.1.0.1 (Christophe)
diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php
index ef93b4d2..410976c4 100644
--- a/framework/Web/UI/TThemeManager.php
+++ b/framework/Web/UI/TThemeManager.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI
@@ -367,6 +367,22 @@ class TTheme extends TApplicationComponent implements ITheme
{
$this->_themePath=$value;
}
+
+ /**
+ * @return array list of skins for the theme
+ */
+ public function getSkins()
+ {
+ return $this->_skins;
+ }
+
+ /**
+ * @param array list of skins for the theme
+ */
+ protected function setSkins($value)
+ {
+ $this->_skins = $value;
+ }
/**
* Applies the theme to a particular control.
@@ -474,4 +490,4 @@ class TTheme extends TApplicationComponent implements ITheme
}
}
-?>
+?>