From e1ee81a09e299d5a9bc59ed59b04acfa3a85a935 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 17 Feb 2006 05:25:37 +0000 Subject: Removed a few constructors. --- framework/Web/UI/TControl.php | 9 +++++++-- framework/Web/UI/WebControls/TCheckBoxList.php | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI') diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 104200ed..d1ae189a 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -164,6 +164,13 @@ class TControl extends TApplicationComponent */ private $_rf=array(); + /** + * Constructor. + */ + public function __construct() + { + } + /** * Returns a property value by name or a control by ID. * This overrides the parent implementation by allowing accessing @@ -1577,7 +1584,6 @@ class TControlList extends TList */ public function __construct(TControl $owner) { - parent::__construct(); $this->_o=$owner; } @@ -1661,7 +1667,6 @@ class TEmptyControlList extends TList */ public function __construct(TControl $owner) { - parent::__construct(); $this->_o=$owner; } diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index a7e6a11c..8a106b46 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -53,6 +53,10 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont private $_isEnabled; private $_changedEventRaised=false; + /** + * Constructor. + * Remember to call parent implementation if you override this method + */ public function __construct() { parent::__construct(); -- cgit v1.2.3