reference/intl/intlchar/foldcase.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.foldcase" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>IntlChar::foldCase</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>mixed</type><methodname>IntlChar::foldCase</methodname>
14
-
<methodparam><type>mixed</type><parameter>codepoint</parameter></methodparam>
15
-
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer><constant>IntlChar::FOLD_CASE_DEFAULT</constant></initializer></methodparam>
11
+
<methodsynopsis role="IntlChar">
12
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>int</type><type>string</type><type>null</type></type><methodname>IntlChar::foldCase</methodname>
13
+
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>codepoint</parameter></methodparam>
14
+
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>IntlChar::FOLD_CASE_DEFAULT</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
The given character is mapped to its case folding equivalent; if the character has no case folding equivalent,
...
...
@@ -44,12 +43,12 @@
44
43
<refsect1 role="returnvalues">
45
44
&reftitle.returnvalues;
46
45
<para>
47
-
Returns the <emphasis>Simple_Case_Folding</emphasis> of the code point, if any; otherwise the code point itself.
46
+
Returns the <emphasis>Simple_Case_Folding</emphasis> of the code point, if any; otherwise the code point itself on success,
47
+
or &null; on failure.
48
48
</para>
49
49
</refsect1>
50
50

51
51
</refentry>
52
-

53
52
<!-- Keep this comment at the end of the file
54
53
Local variables:
55
54
mode: sgml
56
55