reference/intl/transliterator/createfromrules.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.createfromrules" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>Transliterator::createFromRules</refname>
...
...
@@ -11,16 +10,16 @@
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::createFromRules</methodname>
13
+
<methodsynopsis role="Transliterator">
14
+
<modifier>public</modifier> <modifier>static</modifier> <type class="union"><type>Transliterator</type><type>null</type></type><methodname>Transliterator::createFromRules</methodname>
16
15
<methodparam><type>string</type><parameter>rules</parameter></methodparam>
17
-
<methodparam choice="opt"><type>string</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_from_rules</methodname>
22
-
<methodparam><type>string</type><parameter>id</parameter></methodparam>
23
-
<methodparam choice="opt"><type>int</type><parameter>direction</parameter></methodparam>
20
+
<type class="union"><type>Transliterator</type><type>null</type></type><methodname>transliterator_create_from_rules</methodname>
21
+
<methodparam><type>string</type><parameter>rules</parameter></methodparam>
22
+
<methodparam choice="opt"><type>int</type><parameter>direction</parameter><initializer>Transliterator::FORWARD</initializer></methodparam>
24
23
</methodsynopsis>
25
24
<para>
26
25
Creates a Transliterator from rules.
...
...
@@ -37,7 +36,7 @@
37
36
<term><parameter>rules</parameter></term>
38
37
<listitem>
39
38
<para>
40
-
The rules.
39
+
The rules as defined in Transform Rules Syntax of UTS #35: Unicode LDML.
41
40
</para>
42
41
</listitem>
43
42
</varlistentry>
...
...
@@ -46,7 +45,7 @@
46
45
<listitem>
47
46
<para>
48
47
The direction, defaults to
49
-
<link linkend="transliterator.constants.forward">>Transliterator::FORWARD</link>.
48
+
<link linkend="transliterator.constants.forward">Transliterator::FORWARD</link>.
50
49
May also be set to
51
50
<link linkend="transliterator.constants.reverse">Transliterator::REVERSE</link>.
52
51
</para>
...
...
@@ -74,7 +73,6 @@
74
73
</refsect1>
75
74

76
75
</refentry>
77
-

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