cvs: pear /SOAP Base.php Value.php
| From: | Shane Caraveo | Date: | Sat, 17 Aug 2002 18:55:30 +0000 |
| Subject: | cvs: pear /SOAP Base.php Value.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5780@lists.php.net to get a copy of this message | ||
shane Sat Aug 17 14:55:30 2002 EDT
Modified files:
/pear/SOAP Base.php Value.php
Log:
Some minor fixes
Index: pear/SOAP/Base.php
diff -u pear/SOAP/Base.php:1.20 pear/SOAP/Base.php:1.21
--- pear/SOAP/Base.php:1.20 Fri Aug 16 22:37:34 2002
+++ pear/SOAP/Base.php Sat Aug 17 14:55:29 2002
@@ -17,7 +17,7 @@
// | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author |
// +----------------------------------------------------------------------+
//
-// $Id: Base.php,v 1.20 2002/08/17 02:37:34 shane Exp $
+// $Id: Base.php,v 1.21 2002/08/17 18:55:29 shane Exp $
//
/*
@@ -112,7 +112,7 @@
* Common base class of all Soap lclasses
*
* @access public
-* @version $Id: Base.php,v 1.20 2002/08/17 02:37:34 shane Exp $
+* @version $Id: Base.php,v 1.21 2002/08/17 18:55:29 shane Exp $
* @package SOAP::Client
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
*/
@@ -684,7 +684,6 @@
if (!$isstruct || $item->type == 'Array') {
if (isset($return->{$item->name}) &&
is_object($return->{$item->name})) {
- $return->{$item->name} = array();
$return->{$item->name} = $this->decode($item);
} else if (isset($return->{$item->name}) &&
is_array($return->{$item->name})) {
@@ -920,7 +919,7 @@
* class used to handle QNAME values in XML
*
* @access public
-* @version $Id: Base.php,v 1.20 2002/08/17 02:37:34 shane Exp $
+* @version $Id: Base.php,v 1.21 2002/08/17 18:55:29 shane Exp $
* @package SOAP::Client
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
*/
Index: pear/SOAP/Value.php
diff -u pear/SOAP/Value.php:1.30 pear/SOAP/Value.php:1.31
--- pear/SOAP/Value.php:1.30 Mon May 27 03:29:36 2002
+++ pear/SOAP/Value.php Sat Aug 17 14:55:29 2002
@@ -17,7 +17,7 @@
// | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author |
// +----------------------------------------------------------------------+
//
-// $Id: Value.php,v 1.30 2002/05/27 07:29:36 shane Exp $
+// $Id: Value.php,v 1.31 2002/08/17 18:55:29 shane Exp $
//
require_once 'SOAP/Base.php';
@@ -28,7 +28,7 @@
* originaly based on SOAPx4 by Dietrich Ayala http://dietrich.ganx4.com/soapx4
*
* @access public
-* @version $Id: Value.php,v 1.30 2002/05/27 07:29:36 shane Exp $
+* @version $Id: Value.php,v 1.31 2002/08/17 18:55:29 shane Exp $
* @package SOAP::Client
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
* @author Dietrich Ayala <dietrich@ganx4.com> Original Author
@@ -72,6 +72,8 @@
var $options = array();
+ var $nqn;
+ var $tqn;
/**
*
*
@@ -82,13 +84,13 @@
function SOAP_Value($name = '', $type = false, $value, $attributes = array())
{
// detect type if not passed
- $qn = new QName($name);
- $this->name = $qn->name;
- $this->namespace = $qn->namespace;
- $qn = new QName($type);
- $this->type = $qn->name;
- $this->type_prefix = $qn->ns;
- $this->type_namespace = $qn->namespace;
+ $this->nqn = new QName($name);
+ $this->name = $this->nqn->name;
+ $this->namespace = $this->nqn->namespace;
+ $this->tqn = new QName($type);
+ $this->type = $this->tqn->name;
+ $this->type_prefix = $this->tqn->ns;
+ $this->type_namespace = $this->tqn->namespace;
$this->value = $value;
$this->attributes = $attributes;
}
@@ -115,7 +117,7 @@
* originaly based on SOAPx4 by Dietrich Ayala http://dietrich.ganx4.com/soapx4
*
* @access public
- * @version $Id: Value.php,v 1.30 2002/05/27 07:29:36 shane Exp $
+ * @version $Id: Value.php,v 1.31 2002/08/17 18:55:29 shane Exp $
* @package SOAP::Header
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
* @author Dietrich Ayala <dietrich@ganx4.com> Original Author