mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
a bit more of CS and WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@152538 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f18579b48a
commit
f7dd58a66b
2 changed files with 11 additions and 11 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue