didou Fri Feb 27 08:31:13 2004 EDT
Modified files:
/phpdoc/en/reference/soap/functions SoapFault-SoapFault.xml
SoapParam-SoapParam.xml
Log:
a bit more of CS and WS
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/SoapFault-SoapFault.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/soap/functions/SoapFault-SoapFault.xml
diff -u phpdoc/en/reference/soap/functions/SoapFault-SoapFault.xml:1.2
phpdoc/en/reference/soap/functions/SoapFault-SoapFault.xml:1.3
--- phpdoc/en/reference/soap/functions/SoapFault-SoapFault.xml:1.2 Fri Feb 27
08:26:12 2004
+++ phpdoc/en/reference/soap/functions/SoapFault-SoapFault.xml Fri Feb 27 08:31:13
2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.SoapFault-SoapFault">
<refnamediv>
<refname>SoapFault::SoapFault</refname>
@@ -35,12 +35,12 @@
<?php
function test($x)
{
- return new SoapFault("Server","Some error message");
+ return new SoapFault("Server", "Some error message");
}
-$server = new SoapServer(null,array('uri'=>"http://test-uri/"));
+$server = new SoapServer(null, array('uri' => "http://test-uri/"));
$server->addFunction("test");
- $server->handle();
+$server->handle();
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/soap/functions/SoapParam-SoapParam.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/soap/functions/SoapParam-SoapParam.xml
diff -u phpdoc/en/reference/soap/functions/SoapParam-SoapParam.xml:1.2
phpdoc/en/reference/soap/functions/SoapParam-SoapParam.xml:1.3
--- phpdoc/en/reference/soap/functions/SoapParam-SoapParam.xml:1.2 Fri Feb 27
08:26:12 2004
+++ phpdoc/en/reference/soap/functions/SoapParam-SoapParam.xml Fri Feb 27 08:31:13
2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.SoapParam-SoapParam">
<refnamediv>
<refname>SoapParam::SoapParam</refname>
@@ -15,12 +15,12 @@
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
- SoapParam is a special low-level class for naming parameters
and return
- values in nonWSDL mode. It is just a data holder and it has
not any
- special method except constructor. The constructor takes
<parameter>data</parameter>
- to pass or return and <parameter>name</parameter>. It is
possible to pass
- parameters directly as PHP value, but in this case it will be
named as
- <literal>paramN</literal> and SOAP Service may not understand
them.
+ SoapParam is a special low-level class for naming parameters and return
+ values in nonWSDL mode. It is just a data holder and it has not any
+ special method except constructor. The constructor takes
<parameter>data</parameter>
+ to pass or return and <parameter>name</parameter>. It is possible to pass
+ parameters directly as PHP value, but in this case it will be named as
+ <literal>paramN</literal> and SOAP Service may not understand them.
</para>
<para>
<example>