summaryrefslogtreecommitdiff
path: root/framework/Collections
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-20 10:48:45 +0000
committerctrlaltca@gmail.com <>2011-06-20 10:48:45 +0000
commit656c339879a071f2f875831281ed833b876e4361 (patch)
treeb6f11d3ad8cb1f61b10b4e3b9fcb0a7d4d30f9e1 /framework/Collections
parent0956370d34e2eefd0b5e556a6aaca6297ce1e3ce (diff)
removed useless calls to empty contructor; reverted some additional undocumented changes; upported the "cgi workaround" to trunk/; large (fake) changeset are due to mixed cr/crlf used previously
Diffstat (limited to 'framework/Collections')
-rw-r--r--framework/Collections/TDummyDataSource.php3
-rw-r--r--framework/Collections/TList.php3
-rw-r--r--framework/Collections/TMap.php3
-rw-r--r--framework/Collections/TPagedList.php4
-rw-r--r--framework/Collections/TQueue.php1
-rw-r--r--framework/Collections/TStack.php3
6 files changed, 5 insertions, 12 deletions
diff --git a/framework/Collections/TDummyDataSource.php b/framework/Collections/TDummyDataSource.php
index e1cc3536..491c36c0 100644
--- a/framework/Collections/TDummyDataSource.php
+++ b/framework/Collections/TDummyDataSource.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2010 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Collections
@@ -36,7 +36,6 @@ class TDummyDataSource extends TComponent implements IteratorAggregate, Countabl
*/
public function __construct($count)
{
- parent::__construct();
$this->_count=$count;
}
diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php
index af9922d7..e333cbf3 100644
--- a/framework/Collections/TList.php
+++ b/framework/Collections/TList.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2010 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Collections
@@ -62,7 +62,6 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl
*/
public function __construct($data=null,$readOnly=false)
{
- parent::__construct();
if($data!==null)
$this->copyFrom($data);
$this->setReadOnly($readOnly);
diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php
index ce55c3aa..51ed7b1c 100644
--- a/framework/Collections/TMap.php
+++ b/framework/Collections/TMap.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2010 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Collections
@@ -52,7 +52,6 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable
*/
public function __construct($data=null,$readOnly=false)
{
- parent::__construct();
if($data!==null)
$this->copyFrom($data);
$this->setReadOnly($readOnly);
diff --git a/framework/Collections/TPagedList.php b/framework/Collections/TPagedList.php
index 7bb58d41..50286aec 100644
--- a/framework/Collections/TPagedList.php
+++ b/framework/Collections/TPagedList.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2010 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Collections
@@ -386,7 +386,6 @@ class TPagedListPageChangedEventParameter extends TEventParameter
*/
public function __construct($oldPage)
{
- parent::__construct();
$this->_oldPage=$oldPage;
}
@@ -430,7 +429,6 @@ class TPagedListFetchDataEventParameter extends TEventParameter
*/
public function __construct($pageIndex,$offset,$limit)
{
- parent::__construct();
$this->_pageIndex=$pageIndex;
$this->_offset=$offset;
$this->_limit=$limit;
diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php
index 469be018..bbf8de66 100644
--- a/framework/Collections/TQueue.php
+++ b/framework/Collections/TQueue.php
@@ -53,7 +53,6 @@ class TQueue extends TComponent implements IteratorAggregate,Countable
*/
public function __construct($data=null)
{
- parent::__construct();
if($data!==null)
$this->copyFrom($data);
}
diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php
index 9fd045e4..42b10674 100644
--- a/framework/Collections/TStack.php
+++ b/framework/Collections/TStack.php
@@ -4,7 +4,7 @@
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2010 PradoSoft
+ * @copyright Copyright &copy; 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Collections
@@ -52,7 +52,6 @@ class TStack extends TComponent implements IteratorAggregate,Countable
*/
public function __construct($data=null)
{
- parent::__construct();
if($data!==null)
$this->copyFrom($data);
}