reference/reflection/reflectionmethod/invoke.xml
ec2fe9a592f794978114ef5021db9f1d00c2e05d
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="reflectionmethod.invoke" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionMethod::invoke</refname>
...
...
@@ -9,11 +8,10 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="ReflectionMethod">
13
12
<modifier>public</modifier> <type>mixed</type><methodname>ReflectionMethod::invoke</methodname>
14
-
<methodparam><type>object</type><parameter>object</parameter></methodparam>
15
-
<methodparam choice="opt"><type>mixed</type><parameter>parameter</parameter></methodparam>
16
-
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
13
+
<methodparam><type class="union"><type>object</type><type>null</type></type><parameter>object</parameter></methodparam>
14
+
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
17
15
</methodsynopsis>
18
16
<para>
19
17
Invokes a reflected method.
...
...
@@ -35,7 +33,7 @@
35
33
</listitem>
36
34
</varlistentry>
37
35
<varlistentry>
38
-
<term><parameter>parameter</parameter></term>
36
+
<term><parameter>args</parameter></term>
39
37
<listitem>
40
38
<para>
41
39
Zero or more parameters to be passed to the method.
...
...
@@ -100,7 +98,8 @@ Hello Mike
100
98
&reftitle.notes;
101
99
<note>
102
100
<para>
103
-
&reflection.invoke.reference;
101
+
<methodname>ReflectionMethod::invoke</methodname> cannot be used when reference parameters are expected.
102
+
<methodname>ReflectionMethod::invokeArgs</methodname> has to be used instead (passing references in the argument list).
104
103
</para>
105
104
</note>
106
105
</refsect1>
...
...
@@ -117,7 +116,6 @@ Hello Mike
117
116
</refsect1>
118
117

119
118
</refentry>
120
-

121
119
<!-- Keep this comment at the end of the file
122
120
Local variables:
123
121
mode: sgml
124
122