reference/soap/soapclient/call.xml
fe4e8b87d18f17394e7177917c498774b062448c
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="soapclient.call" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>SoapClient::__call</refname>
...
...
@@ -9,21 +8,61 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="SoapClient">
13
12
<modifier>public</modifier> <type>mixed</type><methodname>SoapClient::__call</methodname>
14
-
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
15
-
<methodparam><type>string</type><parameter>arguments</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>name</parameter></methodparam>
14
+
<methodparam><type>array</type><parameter>args</parameter></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Calling this method directly is deprecated. Usually, SOAP functions can be
19
18
called as methods of the <classname>SoapClient</classname> object; in
20
19
situations where this is not possible or additional options are needed, use
21
-
<function>SoapClient::__soapCall</function>.
20
+
<methodname>SoapClient::__soapCall</methodname>.
22
21
</para>
23
22
</refsect1>
24
23

25
-
</refentry>
24
+
<refsect1 role="parameters">
25
+
&reftitle.parameters;
26
+
<para>
27
+
<variablelist>
28
+
<varlistentry>
29
+
<term><parameter>name</parameter></term>
30
+
<listitem>
31
+
<para>
32
+
The name of the SOAP function to call.
33
+
</para>
34
+
</listitem>
35
+
</varlistentry>
36
+
<varlistentry>
37
+
<term><parameter>args</parameter></term>
38
+
<listitem>
39
+
<para>
40
+
An array of the arguments to pass to the function.
41
+
This can be either an ordered or an associative array.
42
+
Note that most SOAP servers require parameter names to be provided, in which case this must be an associative array.
43
+
</para>
44
+
</listitem>
45
+
</varlistentry>
46
+
</variablelist>
47
+
</para>
48
+
</refsect1>
49
+

50
+
<refsect1 role="returnvalues">
51
+
&reftitle.returnvalues;
52
+
<para>
53
+
SOAP functions may return one, or multiple values. If only one value is
54
+
returned by the SOAP function, the return value will be a scalar.
55
+
If multiple values are returned, an associative array of named output
56
+
parameters is returned instead.
57
+
</para>
58
+
<para>
59
+
On error, if the <classname>SoapClient</classname> object was constructed
60
+
with the <literal>exceptions</literal> option set to &false;,
61
+
a <classname>SoapFault</classname> object will be returned.
62
+
</para>
63
+
</refsect1>
26
64

65
+
</refentry>
27
66
<!-- Keep this comment at the end of the file
28
67
Local variables:
29
68
mode: sgml
30
69