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

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

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <modifier>static</modifier> <type>string</type><methodname>IntlChar::getPropertyName</methodname>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>IntlChar::getPropertyName</methodname>
14
13
<methodparam><type>int</type><parameter>property</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>nameChoice</parameter><initializer><constant>IntlChar::LONG_PROPERTY_NAME</constant></initializer></methodparam>
14
+
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>IntlChar::LONG_PROPERTY_NAME</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Returns the Unicode name for a given property, as given in the Unicode database file PropertyAliases.txt.
...
...
@@ -22,7 +21,7 @@
22
21
synthetic names "gcm" / "General_Category_Mask". These names are not in PropertyAliases.txt.
23
22
</para>
24
23
<para>
25
-
This function compliments <function>IntlChar::getPropertyEnum</function>.
24
+
This function complements <function>IntlChar::getPropertyEnum</function>.
26
25
</para>
27
26
</refsect1>
28
27

...
...
@@ -40,7 +39,7 @@
40
39
</listitem>
41
40
</varlistentry>
42
41
<varlistentry>
43
-
<term><parameter>nameChoice</parameter></term>
42
+
<term><parameter>type</parameter></term>
44
43
<listitem>
45
44
<para>
46
45
Selector for which name to get. If out of range, &false; is returned.
...
...
@@ -57,12 +56,12 @@
57
56
<refsect1 role="returnvalues">
58
57
&reftitle.returnvalues;
59
58
<para>
60
-
Returns the name, or &false; if either the <parameter>property</parameter> or the <parameter>nameChoice</parameter>
59
+
Returns the name, or &false; if either the <parameter>property</parameter> or the <parameter>type</parameter>
61
60
is out of range.
62
61
</para>
63
62
<para>
64
-
If a given <parameter>nameChoice</parameter> returns &false;, then all larger values of
65
-
<parameter>nameChoice</parameter> will return &false;, with one exception: if &false; is returned for
63
+
If a given <parameter>type</parameter> returns &false;, then all larger values of
64
+
<parameter>type</parameter> will return &false;, with one exception: if &false; is returned for
66
65
<constant>IntlChar::SHORT_PROPERTY_NAME</constant>, then <constant>IntlChar::LONG_PROPERTY_NAME</constant>
67
66
(and higher) may still return a non-&false; value.
68
67
</para>
...
...
@@ -104,7 +103,6 @@ bool(false)
104
103
</refsect1>
105
104

106
105
</refentry>
107
-

108
106
<!-- Keep this comment at the end of the file
109
107
Local variables:
110
108
mode: sgml
111
109