summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
authorxue <>2006-02-17 05:19:25 +0000
committerxue <>2006-02-17 05:19:25 +0000
commit7b38480de52c1d042ea542e2d06913a8c9b645fc (patch)
tree67ff025fb171a5325ac8fdc75a281ce8a19a2bd5 /framework/Collections
parentae1c1995b2fec431afe7cca23b2697e1bef17baf (diff)
Add TApplicationComponent class and adjusted the relevant classes.
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TList.php1
-rw-r--r--framework/Collections/TMap.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index 7383b684..1090ce77 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -58,6 +58,7 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess
*/
public function __construct($data=null)
{
+ parent::__construct();
if($data!==null)
$this->copyFrom($data);
}
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index 7c46ae70..4d810503 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -53,6 +53,7 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess
*/
public function __construct($data=null)
{
+ parent::__construct();
if($data!==null)
$this->copyFrom($data);
}