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

4
3
<refentry xml:id="transliterator.create" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Transliterator::create</refname>
...
...
@@ -11,19 +10,19 @@
11
10
<refsect1 role="description">
12
11
&reftitle.description;
13
12
<para>&style.oop;</para>
14
-
<methodsynopsis>
15
-
<modifier>public</modifier> <modifier>static</modifier> <type>Transliterator</type><methodname>Transliterator::create</methodname>
13
+
<methodsynopsis role="Transliterator">
14
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>Transliterator</type><type>null</type></type><methodname>Transliterator::create</methodname>
16
15
<methodparam><type>string</type><parameter>id</parameter></methodparam>
17
-
<methodparam choice="opt"><type>int</type><parameter>direction</parameter></methodparam>
16
+
<methodparam choice="opt"><type>int</type><parameter>direction</parameter><initializer>Transliterator::FORWARD</initializer></methodparam>
18
17
</methodsynopsis>
19
18
<para>&style.procedural;</para>
20
19
<methodsynopsis>
21
-
<type>Transliterator</type><methodname>transliterator_create</methodname>
20
+
<type class="union"><type>Transliterator</type><type>null</type></type><methodname>transliterator_create</methodname>
22
21
<methodparam><type>string</type><parameter>id</parameter></methodparam>
23
-
<methodparam choice="opt"><type>int</type><parameter>direction</parameter></methodparam>
22
+
<methodparam choice="opt"><type>int</type><parameter>direction</parameter><initializer>Transliterator::FORWARD</initializer></methodparam>
24
23
</methodsynopsis>
25
24
<para>
26
-
Opens a Transliterator by id.
25
+
Opens a Transliterator by ID.
27
26
</para>
28
27

29
28
&warn.undocumented.func;
...
...
@@ -37,7 +36,8 @@
37
36
<term><parameter>id</parameter></term>
38
37
<listitem>
39
38
<para>
40
-
The id.
39
+
The ID. A list of all registered transliterator IDs can be retrieved by using
40
+
<methodname>Transliterator::listIDs</methodname>.
41
41
</para>
42
42
</listitem>
43
43
</varlistentry>
...
...
@@ -46,7 +46,7 @@
46
46
<listitem>
47
47
<para>
48
48
The direction, defaults to
49
-
<link linkend="transliterator.constants.forward">>Transliterator::FORWARD</link>.
49
+
<link linkend="transliterator.constants.forward">Transliterator::FORWARD</link>.
50
50
May also be set to
51
51
<link linkend="transliterator.constants.reverse">Transliterator::REVERSE</link>.
52
52
</para>
...
...
@@ -74,7 +74,6 @@
74
74
</refsect1>
75
75

76
76
</refentry>
77
-

78
77
<!-- Keep this comment at the end of the file
79
78
Local variables:
80
79
mode: sgml
81
80