reference/reflection/reflectionfunction/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="reflectionfunction.invoke" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionFunction::invoke</refname>
...
...
@@ -9,9 +8,9 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="ReflectionFunction">
13
12
<modifier>public</modifier> <type>mixed</type><methodname>ReflectionFunction::invoke</methodname>
14
-
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
13
+
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
Invokes a reflected function.
...
...
@@ -23,7 +22,7 @@
23
22
<para>
24
23
<variablelist>
25
24
<varlistentry>
26
-
<term><parameter>...</parameter></term>
25
+
<term><parameter>args</parameter></term>
27
26
<listitem>
28
27
<para>
29
28
The passed in argument list. It accepts a variable number of
...
...
@@ -76,7 +75,8 @@ Dr. Phil
76
75
&reftitle.notes;
77
76
<note>
78
77
<para>
79
-
&reflection.invoke.reference;
78
+
<methodname>ReflectionFunction::invoke</methodname> cannot be used when reference parameters are expected.
79
+
<methodname>ReflectionFunction::invokeArgs</methodname> has to be used instead (passing references in the argument list).
80
80
</para>
81
81
</note>
82
82
</refsect1>
...
...
@@ -93,7 +93,6 @@ Dr. Phil
93
93
</refsect1>
94
94

95
95
</refentry>
96
-

97
96
<!-- Keep this comment at the end of the file
98
97
Local variables:
99
98
mode: sgml
100
99