summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjavalizard <>2010-04-18 04:39:29 +0000
committerjavalizard <>2010-04-18 04:39:29 +0000
commitddea098ba7109c8d294b723f1534611404fd77a8 (patch)
tree5a048587bd4b8254ad3dbb38bd5a3216a8959c62
parent4d02feae9d948b28ec24df42ebf498ec24beaae5 (diff)
Ensured parent::__construct calls within TRpcClient and TXmlDocument
-rw-r--r--framework/Util/TRpcClient.php1
-rw-r--r--framework/Xml/TXmlDocument.php4
2 files changed, 4 insertions, 1 deletions
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 <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 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;
}