diff options
author | javalizard <> | 2010-04-18 03:15:01 +0000 |
---|---|---|
committer | javalizard <> | 2010-04-18 03:15:01 +0000 |
commit | 5aff249d0b574f90f527b7af60604439f8fa3bef (patch) | |
tree | 283801d30bd4c847d9079e66391a03823050ad24 /framework/Web/UI/WebControls/TStyle.php | |
parent | c8b27e28e32cd8a93c2203b2c391d0b8e8ecf86a (diff) |
ensured that the WebControls are calling their parent __construct methods
Diffstat (limited to 'framework/Web/UI/WebControls/TStyle.php')
-rw-r--r-- | framework/Web/UI/WebControls/TStyle.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 1b94cc8e..b507c8e3 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.php @@ -4,7 +4,7 @@ *
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright © 2005-2008 PradoSoft
+ * @copyright Copyright © 2005-2010 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.WebControls
@@ -54,6 +54,8 @@ class TStyle extends TComponent */
public function __construct($style=null)
{
+ parent::__construct();
+
if($style!==null)
$this->copyFrom($style);
}
|