reference/intl/intlchar/enumcharnames.xml
574787befb5e20713f93bfd9b6732bdf66651622
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="intlchar.enumcharnames" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::enumCharNames</refname>
...
...
@@ -9,12 +8,12 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>IntlChar::enumCharNames</methodname>
14
-
<methodparam><type>mixed</type><parameter>start</parameter></methodparam>
15
-
<methodparam><type>mixed</type><parameter>limit</parameter></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>IntlChar::enumCharNames</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>start</parameter></methodparam>
14
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>end</parameter></methodparam>
16
15
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
17
-
<methodparam choice="opt"><type>int</type><parameter>nameChoice</parameter><initializer><constant>IntlChar::UNICODE_CHAR_NAME</constant></initializer></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>IntlChar::UNICODE_CHAR_NAME</initializer></methodparam>
18
17
</methodsynopsis>
19
18
<para>
20
19
Enumerate all assigned Unicode characters between the start and limit code points (start inclusive, limit exclusive)
...
...
@@ -37,7 +36,7 @@
37
36
</listitem>
38
37
</varlistentry>
39
38
<varlistentry>
40
-
<term><parameter>limit</parameter></term>
39
+
<term><parameter>end</parameter></term>
41
40
<listitem>
42
41
<para>
43
42
One more than the last code point in the enumeration range (the first one after the range).
...
...
@@ -50,15 +49,15 @@
50
49
<para>
51
50
The function that is to be called for each character name. The following three arguments will be passed into it:
52
51
<simplelist>
53
-
<member><type>integer</type> <literal>$codepoint</literal> - The numeric code point value</member>
54
-
<member><type>integer</type> <literal>$nameChoice</literal> - The same value as the <parameter>nameChoice</parameter> parameter below</member>
52
+
<member><type>int</type> <literal>$codepoint</literal> - The numeric code point value</member>
53
+
<member><type>int</type> <literal>$nameChoice</literal> - The same value as the <parameter>type</parameter> parameter below</member>
55
54
<member><type>string</type> <literal>$name</literal> - The name of the character</member>
56
55
</simplelist>
57
56
</para>
58
57
</listitem>
59
58
</varlistentry>
60
59
<varlistentry>
61
-
<term><parameter>nameChoice</parameter></term>
60
+
<term><parameter>type</parameter></term>
62
61
<listitem>
63
62
<para>
64
63
Selector for which kind of names to enumerate. Can be any of these constants:
...
...
@@ -78,7 +77,31 @@
78
77
<refsect1 role="returnvalues">
79
78
&reftitle.returnvalues;
80
79
<para>
81
-
&return.void;
80
+
&return.success;
81
+
</para>
82
+
</refsect1>
83
+

84
+
<refsect1 role="changelog">
85
+
&reftitle.changelog;
86
+
<para>
87
+
<informaltable>
88
+
<tgroup cols="2">
89
+
<thead>
90
+
<row>
91
+
<entry>&Version;</entry>
92
+
<entry>&Description;</entry>
93
+
</row>
94
+
</thead>
95
+
<tbody>
96
+
<row>
97
+
<entry>8.3.0</entry>
98
+
<entry>
99
+
This method now returns &false; on failure; previously it returns &null;.
100
+
</entry>
101
+
</row>
102
+
</tbody>
103
+
</tgroup>
104
+
</informaltable>
82
105
</para>
83
106
</refsect1>
84
107

...
...
@@ -130,7 +153,6 @@ U+260f WHITE TELEPHONE
130
153
</refsect1>
131
154

132
155
</refentry>
133
-

134
156
<!-- Keep this comment at the end of the file
135
157
Local variables:
136
158
mode: sgml
137
159