From 7b38480de52c1d042ea542e2d06913a8c9b645fc Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 17 Feb 2006 05:19:25 +0000 Subject: Add TApplicationComponent class and adjusted the relevant classes. --- framework/Collections/TList.php | 1 + framework/Collections/TMap.php | 1 + 2 files changed, 2 insertions(+) (limited to 'framework/Collections') 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); } -- cgit v1.2.3