From ddea098ba7109c8d294b723f1534611404fd77a8 Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 04:39:29 +0000 Subject: Ensured parent::__construct calls within TRpcClient and TXmlDocument --- framework/Xml/TXmlDocument.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'framework/Xml') diff --git a/framework/Xml/TXmlDocument.php b/framework/Xml/TXmlDocument.php index 4ea2056e..42a302f1 100644 --- a/framework/Xml/TXmlDocument.php +++ b/framework/Xml/TXmlDocument.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2010 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Xml @@ -55,6 +55,7 @@ class TXmlElement extends TComponent */ public function __construct($tagName) { + parent::__construct(); $this->setTagName($tagName); } @@ -519,6 +520,7 @@ class TXmlElementList extends TList */ public function __construct(TXmlElement $owner) { + parent::__construct(); $this->_o=$owner; } -- cgit v1.2.3