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/Util/TRpcClient.php | 1 + framework/Xml/TXmlDocument.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/Util/TRpcClient.php b/framework/Util/TRpcClient.php index 22af2d55..867c68d2 100644 --- a/framework/Util/TRpcClient.php +++ b/framework/Util/TRpcClient.php @@ -65,6 +65,7 @@ class TRpcClient extends TApplicationComponent */ public function __construct($serverUrl, $isNotification = false) { + parent::__construct(); $this->_serverUrl = $serverUrl; $this->_isNotification = TPropertyValue::ensureBoolean($isNotification); } 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