cvs: pear /SOAP Base.php
| From: | Shane Caraveo | Date: | Thu, 26 Dec 2002 19:57:17 +0000 |
| Subject: | cvs: pear /SOAP Base.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7962@lists.php.net to get a copy of this message | ||
shane Thu Dec 26 14:57:17 2002 EDT
Modified files:
/pear/SOAP Base.php
Log:
add 'rawstring' type to soap_value class. This allows for having an
xml string being inserted as a value into the soap message.
Index: pear/SOAP/Base.php
diff -u pear/SOAP/Base.php:1.27 pear/SOAP/Base.php:1.28
--- pear/SOAP/Base.php:1.27 Sat Nov 30 17:05:38 2002
+++ pear/SOAP/Base.php Thu Dec 26 14:57:17 2002
@@ -17,7 +17,7 @@
// | Authors: Dietrich Ayala <dietrich@ganx4.com> Original Author |
// +----------------------------------------------------------------------+
//
-// $Id: Base.php,v 1.27 2002/11/30 22:05:38 shane Exp $
+// $Id: Base.php,v 1.28 2002/12/26 19:57:17 shane Exp $
//
/*
@@ -113,7 +113,7 @@
* Common base class of all Soap lclasses
*
* @access public
-* @version $Id: Base.php,v 1.27 2002/11/30 22:05:38 shane Exp $
+* @version $Id: Base.php,v 1.28 2002/12/26 19:57:17 shane Exp $
* @package SOAP::Client
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
*/
@@ -480,6 +480,8 @@
$xmlout_value = $value->serialize($this);
} else if ($type == 'string') {
$xmlout_value = htmlspecialchars($value);
+ } else if ($type == 'rawstring') {
+ $xmlout_value = $value;
} else if ($type == 'boolean') {
$xmlout_value = $value?'true':'false';
} else {
@@ -984,7 +986,7 @@
* class used to handle QNAME values in XML
*
* @access public
-* @version $Id: Base.php,v 1.27 2002/11/30 22:05:38 shane Exp $
+* @version $Id: Base.php,v 1.28 2002/12/26 19:57:17 shane Exp $
* @package SOAP::Client
* @author Shane Caraveo <shane@php.net> Conversion to PEAR and updates
*/