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

4
3
<refentry xml:id="reflectionparameter.tostring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>ReflectionParameter::__toString</refname>
...
...
@@ -9,16 +8,14 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
11
+
<methodsynopsis role="ReflectionParameter">
13
12
<modifier>public</modifier> <type>string</type><methodname>ReflectionParameter::__toString</methodname>
14
-
<void />
13
+
<void/>
15
14
</methodsynopsis>
16
15
<para>
17
-
To string.
16
+
Get a human-readable description of the parameter.
18
17
</para>
19
18

20
-
&warn.undocumented.func;
21
-

22
19
</refsect1>
23
20

24
21
<refsect1 role="parameters">
...
...
@@ -29,7 +26,29 @@
29
26
<refsect1 role="returnvalues">
30
27
&reftitle.returnvalues;
31
28
<para>
29
+
The string.
30
+
</para>
31
+
</refsect1>
32
32

33
+
<refsect1 role="examples">
34
+
&reftitle.examples;
35
+
<para>
36
+
<example>
37
+
<title><methodname>ReflectionParameter::__toString</methodname> example</title>
38
+
<programlisting role="php">
39
+
<![CDATA[
40
+
<?php
41
+
echo new ReflectionParameter('substr', 0);
42
+
?>
43
+
]]>
44
+
</programlisting>
45
+
&example.outputs.similar;
46
+
<screen>
47
+
<![CDATA[
48
+
Parameter #0 [ <required> string $string ]
49
+
]]>
50
+
</screen>
51
+
</example>
33
52
</para>
34
53
</refsect1>
35
54

...
...
@@ -37,14 +56,14 @@
37
56
&reftitle.seealso;
38
57
<para>
39
58
<simplelist>
40
-
<member><methodname>ReflectionParameter::export</methodname></member>
59
+
<member><methodname>ReflectionFunction::__toString</methodname></member>
60
+
<member><methodname>ReflectionMethod::__toString</methodname></member>
41
61
<member><link linkend="object.tostring">__toString()</link></member>
42
62
</simplelist>
43
63
</para>
44
64
</refsect1>
45
65

46
66
</refentry>
47
-

48
67
<!-- Keep this comment at the end of the file
49
68
Local variables:
50
69
mode: sgml
51
70