diff options
author | xue <> | 2006-02-17 05:25:37 +0000 |
---|---|---|
committer | xue <> | 2006-02-17 05:25:37 +0000 |
commit | e1ee81a09e299d5a9bc59ed59b04acfa3a85a935 (patch) | |
tree | 846ed8e55761fbc9d598c8e9d34cc0ab3f6f87a7 /framework/Web/UI | |
parent | 7b38480de52c1d042ea542e2d06913a8c9b645fc (diff) |
Removed a few constructors.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TControl.php | 9 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TCheckBoxList.php | 4 |
2 files changed, 11 insertions, 2 deletions
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 @@ -165,6 +165,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
* a control via its ID using the following syntax,
@@ -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();
|