summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TListItem.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TListItem.php')
-rw-r--r--framework/Web/UI/WebControls/TListItem.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TListItem.php b/framework/Web/UI/WebControls/TListItem.php
index eb72d183..9ba24bec 100644
--- a/framework/Web/UI/WebControls/TListItem.php
+++ b/framework/Web/UI/WebControls/TListItem.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-20010 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.WebControls
@@ -57,6 +57,8 @@ class TListItem extends TComponent
*/
public function __construct($text='',$value='',$enabled=true,$selected=false)
{
+ parent::__construct();
+
$this->setText($text);
$this->setValue($value);
$this->setEnabled($enabled);